JustOneMoreBlock / shell-scripts

Various Shell Scripts
MIT License
5 stars 7 forks source link

Wrote new pass gen #27

Closed JustOneMoreBlock closed 5 years ago

JustOneMoreBlock commented 7 years ago
PasswordGenerator () {      
cat /dev/urandom | tr -dc A-Za-z0-9 | dd bs=$1 count=1 2>/dev/null;       
}

export MySQLRoot=`PasswordGenerator 100`
export Daemon=`PasswordGenerator 25`

echo "Test 1"
echo ${MySQLRoot}
echo ${Daemon}

echo "Test 2"
echo ${MySQLRoot}
echo ${Daemon}