>>>>> "Michael" == Michael Sierchio <ku...@tenebras.com> writes:

Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'

Michael> will give you the right kind of characters to use, for example.

I prefer "openssl rand -base64 6" to get an 8-char password from a
fairly large set of sensible characters.  Each multiple of 3 results in 4
characters in the output.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to