Actually I believe Red Hat comes with it's own program to generate passwords
(it's part of expect) and called mkpasswd. Give it a try.
-Sam
On Wed, Mar 11, 1998 at 11:21:53PM -0600, Ryan McCowan wrote:
> On Wed, 11 Mar 1998, Wesley W. Owen wrote:
>
> > Is there a way to get RHL5 to generate a random password when I create a
> > new user? Or, is it somewhere in passwd? Thanks for the help!
> >
> > Wes
> >
>
> It's pretty trivial in just about any language to write something to read
> bytes from /dev/random or /dev/urandom (faster, but less random) until
> you've collected 8 alphanumeric characters (the max normal password
> length, IIRC).
--
Samuel Ockman | Work Linux? | VA Research
Director of Software | Work with us. | Proud Corporate
1-888-LINUX-4U ext. 133 | e-mail jobs@ | Sponsor of Guerilla
www.varesearch.com | varesearch.com | Linux Development
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.