"useradd: unable to lock password file" need help
useradd: unable to lock password file
this is an error message when I use adduser command with sudo -u mysudoer adduser newuser mysudoer set NOPASSWD to this command what should I do please help |
-u mysudoer would cause the adduser script to run as someone other than root.. Before writing to the password file it has to be locked to avoid 2 people writing to it at once, If i'm right, only root can do this. Run sudo without any options to run the program as root.
If I'm right, the NOPASSWD option probaby means you don't have to enter mysudoer's password to run the command. |
All times are GMT -5. The time now is 08:51 PM. |