random generated password

Michael Sierchio kudzu at tenebras.com
Tue Aug 30 18:42:42 UTC 2011


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 at stonehenge.com> wrote:
>>>>>> "Michael" == Michael Sierchio <kudzu at 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
> <merlyn at 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
>


More information about the freebsd-questions mailing list