xscreensaver unlock fails
Bug #279560 reported by
z3non
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xscreensaver (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xscreensaver
xscreensaver doesn't unlock my screen, I've to switch to a console and kill the xscreensaver-
I'm using xfce (xubuntu), having no special pam setup.
auth.log:
Oct 7 12:15:30 silver unix_chkpwd[9713]: check pass; user unknown
Oct 7 12:15:30 silver unix_chkpwd[9713]: password check failed for user (tom)
Oct 7 12:15:30 silver xscreensaver: pam_unix(
Oct 7 12:15:32 silver xscreensaver[9612]: FAILED LOGIN 1 ON DISPLAY ":0.0", FOR "tom"
regards,
tom
To post a comment you must log in.
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