useradd : unable to lock passwd file

Results 1 to 6 of 6

Thread: useradd : unable to lock passwd file

  1. #1
    Right Off the Assembly Line
    Join Date
    Jan 2007
    Posts
    11

    Default useradd : unable to lock passwd file

    when iam creating user using useradd

    it prompts an error


    unable to lock passwd file
    Popular Gadget Deals

  2. #2
    left this forum longback praka123's Avatar
    Join Date
    Sep 2005
    Location
    -
    Posts
    7,513

    Smile Re: useradd : unable to lock passwd file

    useradd is a raw command.which distro are you using.
    also you need to be root(admin) user to do that.try as root.
    remember useradd needs many things(mostly auto set) like the default /home/user directory,shell,ur details etc etc.there are gui tools available in most modern distros like Debian or Fedora
    left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
    Get GNU/Linux - http://getgnulinux.org

  3. #3
    Right Off the Assembly Line
    Join Date
    Jan 2007
    Posts
    11

    Default Re: useradd : unable to lock passwd file

    thanks for ur reply


    iam using redhat 9.0 and iam logged in as user root



    but iam getting the same error as " unable to lock passwd file "


    what to do

  4. #4
    left this forum longback praka123's Avatar
    Join Date
    Sep 2005
    Location
    -
    Posts
    7,513

    Default Re: useradd : unable to lock passwd file

    this is queit a old distro use fedora 7 (redhat's latest version is called fedora)
    the tool used if u have GUI GNOME working is "redhat-config-users" i think.infact rh website too have details.
    if u want to know more about cmd u can try in terminal "man useradd"
    ex usage in cli is like u need to specify ur primary group,secondary groups(wheel),home directory,user details passwd etc
    Last edited by praka123; 24-06-2007 at 07:03 PM.
    left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
    Get GNU/Linux - http://getgnulinux.org

  5. #5
    In The Zone
    Join Date
    Oct 2006
    Location
    Jamshedpur
    Posts
    314

    Default Re: useradd : unable to lock passwd file

    Hey look in your /etc/passwd ..... there should be some lock files... passwd.lock etc.Delete them,restart and get going.

  6. #6
    Right Off the Assembly Line
    Join Date
    Jan 2007
    Posts
    11

    Default Re: useradd : unable to lock passwd file

    thaks for ur reply

    i have deleted /etc/passwd.lock file

    now its working

LinkBacks (?)

  1. 15-08-2012, 02:48 PM
  2. 14-08-2012, 03:05 PM
  3. 12-08-2012, 05:11 PM
  4. 27-07-2012, 05:42 PM
  5. 26-07-2012, 01:40 AM
  6. 22-07-2012, 08:11 AM
  7. 19-07-2012, 06:12 PM
  8. 11-07-2012, 11:26 AM
  9. 02-07-2012, 01:13 PM
  10. 01-06-2012, 04:12 PM
  11. 30-05-2012, 01:39 PM
  12. 24-05-2012, 12:32 AM
  13. 14-05-2012, 08:18 PM
  14. 18-04-2012, 12:42 PM
  15. 05-04-2012, 03:18 PM
  16. 03-04-2012, 02:25 PM
  17. 03-04-2012, 05:03 AM
  18. 17-02-2012, 09:33 AM
  19. 02-02-2012, 11:47 AM
  20. 14-03-2011, 01:28 PM
  21. 18-01-2011, 03:35 PM

Similar Threads

  1. Replies: 7
    Last Post: 14-05-2012, 08:58 AM
  2. Replies: 3
    Last Post: 25-06-2011, 08:40 PM
  3. unable to install any file....says file corrupted (nokia 5800xm)
    By ajooba215 in forum Mobiles and Tablets
    Replies: 0
    Last Post: 26-02-2010, 08:09 PM
  4. Folder/file lock
    By skghosh44 in forum QnA (read only)
    Replies: 17
    Last Post: 08-11-2007, 11:56 AM
  5. lock down your hosts file !
    By anandk in forum Tutorials
    Replies: 2
    Last Post: 17-05-2006, 08:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close