Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: adding new user account  (Read 4767 times)

0 Members and 1 Guest are viewing this topic.

Linuxfresher

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Linux variant
    adding new user account
    « on: March 18, 2014, 12:45:50 PM »
    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.

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: adding new user account
    « Reply #1 on: March 18, 2014, 03:58:38 PM »
    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/

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: adding new user account
    « Reply #2 on: March 18, 2014, 08:34:00 PM »
    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?

    jormeno



      Rookie

      Thanked: 1
      • Experience: Familiar
      • OS: Windows 7
      Re: adding new user account
      « Reply #3 on: April 08, 2014, 01:04:15 PM »
      make sure you are logged in as root or a sudoer.

      type the command adduser "name" (no quotes)

      than type passwd "password" (no quotes)
      You won't know unless you try.