1.

Solve : adding new user account?

Answer»

When I wrote down in terminal "useradd abcd -p pass" it showed me the message which read "useradd: cannot lock /etc/passwd; try again later".
So please suggest me any solution with a little bit of explanation if possible as I am quite NEW to linux.Tons of info on GOOGLE... here is a LINK I pulled out from search.

http://www.thegeekstuff.com/2009/06/useradd-adduser-newuser-how-to-create-linux-users/Would help if OP would say which version of Linux.
Also, is he using BASH at the terminal?
Is he adding a new user or change a password?
Does he wan to change is password or somebody ease's?
make sure you are logged in as root or a sudoer.

type the command adduser "name" (no quotes)

than type passwd "password" (no quotes)



Discussion

No Comment Found