Date: Wed, 11 Jun 2008 18:14:36 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Zbigniew Szalbot <z.szalbot@lc-words.com> Cc: freebsd-questions@freebsd.org Subject: Re: generating random passwords Message-ID: <20080611161436.GA9276@slackbox.xs4all.nl> In-Reply-To: <484F7CBE.5060401@lc-words.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Jun 11, 2008 at 09:20:30AM +0200, Zbigniew Szalbot wrote: > Hello, > > Excuse me my ignorance. Is there a utility in FreeBSD that would allow > me to generate random passwords without actually creating any accounts > or modifying existing ones? I am looking for something to allow me to > generate a random string of characters. I know I can randomly hit the > keyboard but if anything like that exists, many thanks for your advice. :) Using FreeBSD's random device: tcsh syntax: ( dd if=/dev/random bs=6 count=1 | openssl base64 > /dev/tty ) > & /dev/null sh syntax: dd if=/dev/random bs=6 count=1 2>/dev/null| openssl base64 Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhP+ewACgkQEnfvsMMhpyVuzgCgq2FbUCl9h+r9YgfbLATCWUoZ /aIAn2MDW/U2r9jf1OyHNgYUt2tIdRH/ =xmTx -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080611161436.GA9276>
