Situatie
Dorim generarea parolelor in bash.
Putem folosi una din urmatoarele comenzi
Solutie
Pasi de urmat
date +%s | sha256sum | base64 | head -c 32 ; echo
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6; echo
strings /dev/urandom | grep -o ‘[[:alnum:]]’ | head -n 30 | tr -d ‘n’; echo
openssl rand -base64 32
Leave A Comment?