Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.