User Tools

Site Tools


public:fbsd_random_pwd

FreeBSD: generate random passwords


Here some way to generate seure passwords:

$ head -c100 /dev/urandom | strings -n1 | tr -d '[:space:]' | head -c15
$ openssl rand -base64 15
$ gpg2 --armor --gen-random 1 15
 
: another way
$ cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 16; echo
$ cat /dev/urandom | env LC_CTYPE=C tr -dc [:graph:] | head -c 16 ; echo


return to gimbo wiki home page

public/fbsd_random_pwd.txt · Last modified: by gmarco