Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to add a user (as root) on CentOS 5.5 and I've got this message :

useradd: unable to lock password file

After reading some post linked to this issue I've deleted two files in /etc :

  • .pwd.lock
  • passwd-

However it still doesn't work. Finally, I read a thread where the guy said that using the passwd command to update the passwd file and normally fix this issue. I've tried with the root user But I've got this issue :

passwd: Authentication token manipulation error

Any idea to add my user ?

share|improve this question
    
After a bit of work, I found the answer myself. The server doesn't have enough space on the disk. The solution was to clean some files. Sorry my bad. – alexgindre Sep 3 '12 at 14:52

You must log in to answer this question.

Browse other questions tagged .