> I am writing a script to add a list of users to a HP-UX 11 system, and I 
> want to assign all users the same default password.  What is a good way 
> to do this?  I notice that all password hashes are 13 characters long.  
> Does HP-UX use md5 hashes?

Doubt it.  At least not the machine you're referring to.  If the hashes
don't start with $1$ then you know for sure it's not MD5.

Since it's using the original crypt algorithm (which uses DES) then your
passwords are not longer than 8 characters long.  Not good, so you'll
want to enable MD5 passwords if that's possible.

If you want to give everyone the same password, you could just create
one user and then copy-paste the line in the passwd/shadow file from that
user a bunch of times, changing the user name, id, and home directory.

I've actually never tried it, but I guess it would work.

-- 
Phillip Hellewell <[EMAIL PROTECTED]>

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to