[CentOS] useradd: unable to lock password file

Wayne Bastow ayu.njoman at gmail.com
Thu Sep 1 03:14:28 UTC 2005


Nick,

Were you already running a useradd before you started this one? Maybe in 
another terminal session.

Try killing the process and see if the passwd.lock file is still there.

Wayne

On 9/1/05, Nick <list at everywhereinternet.com> wrote:
> 
> Hi,
> 
> Help. I have an issue adding accounts to a centos box of joy that has
> otherwise been 100% reliable.
> 
> Basically if I run a "useradd test" as root it returns useradd: unable to
> lock password file.
> 
> There is a /etc/passwd.lock file:
> 
> [root at bill etc]# more passwd.lock
> 6697
> 
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
> 6697 root 25 0 22672 22M 612 R 47.2 1.1 1:02 1 useradd
> 
> Eating lots of cpu... but doing what?
> 
> If anyone has any clues I'd really appreciate the help :)
> 
> Cheers,
> 
> Nick
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20050901/47f0e0f6/attachment.htm


More information about the CentOS mailing list