Date: Tue, 30 Aug 2011 11:42:39 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: "Randal L. Schwartz" <merlyn@stonehenge.com> Cc: Michael <mlmichael70@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: random generated password Message-ID: <CAHu1Y723GrYkwLBYnoh%2B5jtqg-5W3QprzpNAoaBXiKo%2BRZbzxg@mail.gmail.com> In-Reply-To: <86mxeqoi8t.fsf@red.stonehenge.com> References: <4E5D28E0.5050700@gmail.com> <CAHu1Y72RGC5K2FPYk2Fq28zNkypAfg8YJrL=AQ6ht2S6wzf_nA@mail.gmail.com> <CAHu1Y71DmKEatXcx5yMLDEUwE2SpBNEgr=vZ-9DysPWEK4QDCQ@mail.gmail.com> <86mxeqoi8t.fsf@red.stonehenge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
That occurred to me, but it's a smaller alphabet. Probably doesn't matter if the purpose is to make login unusable. On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz <merlyn@stonehenge.com> wrote: >>>>>> "Michael" =3D=3D Michael Sierchio <kudzu@tenebras.com> writes: > > Michael> dd if=3D/dev/random count=3D1 | 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. =A0Each multiple of 3 results in= 4 > characters in the output. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 00= 95 > <merlyn@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y723GrYkwLBYnoh%2B5jtqg-5W3QprzpNAoaBXiKo%2BRZbzxg>