useradd /etc/passwd lock
Posted
by
alexgindre
on Super User
See other posts from Super User
or by alexgindre
Published on 2012-09-03T08:55:35Z
Indexed on
2012/09/03
9:40 UTC
Read the original article
Hit count: 184
centos-5
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 ?
© Super User or respective owner