Generate Random Password

From UVOO Tech Wiki
Revision as of 21:51, 25 January 2024 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< /dev/urandom tr -dc A-Za-z0-9 | head -c40
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;

more

tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo ''


tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 13  ; echo


LC_ALL=C tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 

openssl rand -base64 12

openssl rand -hex 12