Problem located.

$ cat /var/log/auth.log
new unix_chkpwd[15399]: check pass; user unknown
new gnome-screensaver-dialog: (pam_unix) authentication failure; logname= 
uid=1000 euid=1000 tty=:0.0 ruser= rhost=  user=dahen

libpam-modules: 0.79-4ubuntu2

$ cat /etc/var/pam.d/gnome-screensaver
@include common-auth

$ cat /etc/var/pam.d/common-auth
auth    required        pam_unix.so nullok_secure

$ ls -l /sbin/unix_chkpwd                                                       
                                                                                
    
-rwxr-sr-x 1 root shadow 18128 2006-12-20 18:59 /sbin/unix_chkpwd

$ ls -l /etc/shadow                                                             
                                                                                
    
-rw-r----- 1 root root 1038 2007-04-02 08:18 /etc/shadow

unix_chkpwd is setGID but /etc/shadow does not belong to the shadow
group.

The solution is therefore to change group on /etc/shadow or to setUID
/sbin/unix_chkpwd

-- 
Password not accepted when attempting to logging back in after locking the 
screen
https://bugs.launchpad.net/bugs/97569
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to