Nick,<br>
<br>
Were you already running a useradd before you started this one? Maybe in another terminal session.<br>
<br>
Try killing the process and see if the passwd.lock file is still there.<br>
<br>
Wayne<br><br><div><span class="gmail_quote">On 9/1/05, <b class="gmail_sendername">Nick</b> <<a href="mailto:list@everywhereinternet.com">list@everywhereinternet.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Help. I have an issue adding accounts to a centos box of joy that has<br>otherwise been 100% reliable.<br><br>Basically if I run a "useradd test" as root it returns useradd: unable to<br>lock password file.
<br><br>There is a /etc/passwd.lock file:<br><br>[root@bill etc]# more passwd.lock<br>6697<br><br>  PID
USER    
PRI  NI  SIZE  RSS SHARE STAT %CPU
%MEM   TIME CPU COMMAND<br> 6697
root      25   0
22672  22M   612
R    47.2  1.1  
1:02   1 useradd<br><br>Eating lots of cpu... but doing what?<br><br>If anyone has any clues I'd really appreciate the help :)<br><br>Cheers,<br><br>Nick<br><br>_______________________________________________<br>CentOS mailing list
<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>