Comment 1 for bug 279560

Revision history for this message
z3non (tom-uttenthaler) wrote : Re: [intrepid] xscreensaver unlock fails

I found out, that the problem lies in the permissions of /etc/shadow resp. /sbin/unix_chkpwd

I assume, /etc/shadow should be owned by the group 'shadow', but for some reason it had this permissions:

$ ls -l /etc/shadow
-rw-r----- 1 root root 1133 2008-10-06 19:32 /etc/shadow

after doing
$ sudo chgrp shadow /etc/shadow

it worked, as the program 'unix_chkpwd' has the GUID bit set and is owned by the group shadow:
$ ls -l /sbin/unix_chkpwd
-rwxr-sr-x 1 root shadow 30272 2008-09-23 09:06 /sbin/unix_chkpwd

This should be fixed for hardy & intrepid, as I had this problem on both versions and there are various bug reports out there about similar problems (e.g. #92932)

regards,
tom