With several commands in Linux, I get the error:
cannot lock /etc/passwd; try again later.
Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.
linuxpasswd
With several commands in Linux, I get the error:
cannot lock /etc/passwd; try again later.
Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.
Best Answer
If no
.lock
files are present but you still cannot create a user try the followingIf logged in as
root
then use