[TriLUG] automatically generating an encrypted passwd for useradd -p for RHEL

Marvin Blackburn mblackburn at glenraven.com
Tue Dec 2 08:17:07 EST 2003


I need a method for automatically generating a crypt(3) password so I can
input it into the
usermod -p command to force a user to enter a new password when logging in.

I saw a way to use python to generate the key, but its not automatated.

Any help would be appreciated.
I am running RHEL ES2.1

------------------
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure.  He's not dead yet" --William Lloyd George




More information about the TriLUG mailing list