2008-12-19
useradd: unable to lock password file
Useradd: unable to lock password file
Problem description:
Under Red Hat Linux release 9, use root to add a user, get error message as below:
useradd: unable to lock password file
Solution:
Needed to remove a lock file
Under the /etc directory, there are some lock files as:
group.lock
gshadow.lock
passwd.lock
shadow.lock
or
.pwck.lock
.pwd.lock
Remove them.
Subscribe to:
Post Comments (Atom)
don't work
ReplyDelete