LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   useradd locking accounts? (https://www.linuxquestions.org/questions/debian-26/useradd-locking-accounts-305886/)

evilchild 03-25-2005 08:53 AM

useradd locking accounts?
 
I run useradd threw a script, noninteractivly, I also need to assign passwords to users noninteractivly using useradd's "-p" option and inserting an openssl encrypted password, but for some reason even after I do this the user account is locked down. How can I prevent useradd from locking accounts intill the password is change with passwd.

BTW: I'm able to view the password status with pass -S [USERNAME] and it shows the user has a usable password every time!

rossjman1 03-25-2005 03:55 PM

Debian documents says it's better to use the newer adduser

jlarsen 04-26-2005 09:37 AM

I'm trying to do the same type of thing. Did you ever find a non-interactive way to set the password?


All times are GMT -5. The time now is 05:01 AM.