10 modi per generare un password robusta su ubuntu, facile tips ai più.
1)
date +%s | sha256sum | base64 | head -c 32 ; echo
2)
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;
3)
openssl rand -base64 32
4)
tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1
5)
strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d 'n'; echo
6)
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6
7)
dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev
8)
</dev/urandom tr -dc '[email protected]#$%qwertQWERTasdfgASDFGzxcvbZXCVB' | head -c8; echo ""
9)
randpw(){ < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo;}
10)
date | md5sum
Se volete ho realizzato un piccolo script (genera automaticamente le password) scaricabile da:https://github.com/runcif/genPass