[Gllug] passwd and creating passwords

Xander D Harkness xander at harkness.co.uk
Tue Jan 27 16:32:33 UTC 2004


I am able to create a password using passwd in interactive mode.

I would like to add a user using useradd -p hashed-password joe

useradd can take a password on the command line but it needs to be a 
hash ready to be placed in the /etc/shadow file.

How can I create the correct md5 hash as none of the man pages are very 
helpful.

Kind regards
Xander


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list