On Mon, May 15, 2000 at 03:09:37PM +0530, Kedar Patankar typed:

>       Does anyone here know how to get a "crypt"ed password on a
>gnu/linux box that has MD5 + shadow setup? The problem I have is related
>to CVS.

As you say, Red Hat uses MD5 hashes for passwords. So you can't simply
copy passwords from /etc/passwd and populate your CVSROOT/passwd file.

Try this perl 5 command to generate encrypted password strings for
CVSROOT/passwd:

     perl -e'print crypt("password", "randomizing_string"), "\n";'

"password" is the clear text of the password you want to know the
encrypted string for.

"randomizing_string" is an arbit set of two letters used to
'randomize' the password.  Something like, say "z1" :)

You can use all letters and numbers, but note that no matter how many
characters you use here, only the first two will get used.

hope this helps ...

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"Whatever the missing mass of the universe is, I hope it's not
cockroaches!"
                -- Mom

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to