initialise password using useradd

Chris Adams cmadams at hiwaay.net
Thu Oct 27 15:07:52 UTC 2005


Once upon a time, Gary Stainburn <gary.stainburn at ringways.co.uk> said:
> Next, howcome on FC4 '-p userpassword' doesn't set the 
> password properly and is there a way to fix it other than calling

RTF man page:

       -p passwd
              The encrypted password, as returned by crypt(3).   The  default
              is to disable the account.

To use the -p option to useradd, you have to encrypt the password first.
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the fedora-list mailing list