Aysad Kozanoglu - Mimarist

Server Howtos & Tutorials

8 Wege über shell / bash Passwort zu generieren

24 Oktober, 2016 | Scripts Codes
 date | md5sum
openssl rand -base64 32
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo; 
tr -cd '[:alnum:]' < /dev/urandom | fold -w32 | head -n1
strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 32 | tr -d '\n'; echo
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32
dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev
</dev/urandom tr -dc '12345!@#$%qwertQWERTasdfgASDFGzxcvbZXCVB' | head -c12; echo ""