lkml.org 
[lkml]   [1998]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel security questions
>> - Can I use /dev/random to generate characters for passwords, or only to
>> seed
>> a password generator?
>
> Do this "dd if=/dev/random of=rands.txt bs=512 count=1". Have a look at
> rands.txt. It'll likely be full of non-printable characters. I just did
> it, and it was almost entirely non-printable characters. It might make
> for really secure passwords, but not very nice ones.

I should have mentioned that -- I realize its mostly garbage. I wrote a C
program that use isalpha() to determine its validity. So it reads three or
four chars, and picks a punctuation mark to prevent alphabetic passwords only.

I just didn't realize how random it actually is, and if its really meant for
this purpose... And how about /dev/urandom?

Dave


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.058 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site