I had the same situation on my ubuntu 9.10 Karmic , I was trying to add my user 
id  to dba Group in order to star 
and stop the DB services by own , 
r...@ubuntu:~$ usermod -a -G dba raja
usermod: cannot lock /etc/passwd; try again later.
i checked for any process locked the /etc/passwd file but found nothing .
Then i tried to run the command with sudo 
this time it worked.

-- 
useradd: cannot lock /etc/passwd; try again later.
https://bugs.launchpad.net/bugs/523896
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to