random generated password

Pierre-Luc Drouin pldrouin at pldrouin.net
Tue Aug 30 18:48:57 UTC 2011


If the purpose is to make login unusable, starring the password is the
only 100% safe way...

On Tue, Aug 30, 2011 at 2:42 PM, Michael Sierchio <kudzu at tenebras.com> wrote:
> 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
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list