I'm trying to automate adding lots of users to a linux box... I'm running shadow and md5. The man page for useradd says I should do the following
useradd username -p password
Where password is the MD5 version of the password they should have. Well the problem is that whatever you put after -p goes directly into /etc/shadow
What it should look like is:
That's not normal MD5, it's some odd permutation. Does anyone know how to generate this type of MD5?