2009/10/10 Milan Bouchet-Valat <nalimi...@club.fr>

> We need to track down the program that has left those locks when
> crashing. Is it gdm-guest-session itself, or is it using a program to
> change /etc/passwd (possibly usermod itself)?
>


As of now, guest-session doesn't leave any locks behind.between the
commands, I launched guest-session.

t...@dv5:~$ ls -l /etc/{passwd,shadow}*
-rw-r--r-- 1 root root   1685 2009-10-10 08:12 /etc/passwd
-rw------- 1 root root   1743 2009-10-10 08:12 /etc/passwd-
-rw-r----- 1 root shadow 1042 2009-10-10 08:12 /etc/shadow
-rw------- 1 root root   1069 2009-09-08 21:50 /etc/shadow-
t...@dv5:~$ ls -l /etc/{passwd,shadow}*
-rw-r--r-- 1 root root   1685 2009-10-10 15:43 /etc/passwd
-rw------- 1 root root   1743 2009-10-10 15:41 /etc/passwd-
-rw-r----- 1 root shadow 1042 2009-10-10 15:43 /etc/shadow
-rw------- 1 root root   1069 2009-10-10 15:41 /etc/shadow-

-- 
usermod fails: "cannot lock /etc/passwd"
https://bugs.launchpad.net/bugs/432964
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