Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack (9) Thread Tools Display Modes
Old 24-06-2007, 10:27 AM   9 links from elsewhere to this Post. Click to view. #1 (permalink)
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
asdfgh2 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-06-2007, 10:30 AM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
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
praka123 is offline  
Old 24-06-2007, 06:43 PM   #3 (permalink)
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
asdfgh2 is offline  
Old 24-06-2007, 06:57 PM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 24-06-2007 at 07:03 PM.
praka123 is offline  
Old 24-06-2007, 07:32 PM   #5 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Jamshedpur
Posts: 318
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.
sashijoseph is offline  
Old 25-06-2007, 02:56 PM   #6 (permalink)
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
asdfgh2 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/61186-useradd-unable-lock-passwd-file.html
Posted By For Type Date
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 14-05-2012 08:18 PM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 18-04-2012 12:42 PM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 05-04-2012 03:18 PM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 03-04-2012 02:25 PM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 03-04-2012 05:03 AM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 17-02-2012 09:33 AM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 02-02-2012 11:47 AM
Open Source Blog - Java,Python,Linux,...................: useradd: unable to lock password file This thread Refback 14-03-2011 01:28 PM
Open Source Blog - Java,Python,Linux,................... This thread Refback 18-01-2011 03:35 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder/file lock skghosh44 QnA (read only) 17 08-11-2007 11:56 AM
Why i am unable to rename file ? mkmkmk QnA (read only) 3 17-03-2007 11:22 AM
Unable to open this word file Sridhar_Rao Software Q&A 6 11-03-2007 11:02 PM
Unable to burn 2+GB ISO file with Nero Choto Cheeta Software Q&A 13 03-12-2006 04:45 PM
lock down your hosts file ! anandk Tutorials 2 17-05-2006 08:33 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2