[Bug 20071] Can't unlock session

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Dec 22 18:34:31 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20071
Ubuntu | kde





------- Additional Comments From matthew at porpoisehead.net  2005-12-22 18:34 UTC -------
Looking at /sbin/unix_chkpwd I noticed that is set-gid shadow, but the
/etc/shadow file had permissions that meant it could only be read by root:

-rwxr-sr-x  1 root shadow 14988 2005-09-12 19:12 /sbin/unix_chkpwd
-rw-r-----  1 root root     926 2005-12-16 22:07 /etc/shadow

I chowned /etc/shadow to be root:shadow, and now kcheckpass works properly
without having to be set-uid root. I'm not 100% sure if this change of group on
/etc/shadow has other implications, but it seems reasonable for it to be like this.

So now I have:
-rw-r-----  1 root shadow   926 2005-12-16 22:07 /etc/shadow
-rwxr-sr-x  1 root shadow 14988 2005-09-12 19:12 /sbin/unix_chkpwd
-rwxr-xr-x  1 root root   10048 2005-11-04 00:59 /usr/bin/kcheckpass

The only difference from the default install here is the group of the
/etc/shadow file.  I think the installer is the culprit (I'm fairly sure I
didn't change it, unless the KDE user tools have done something without telling
me). 

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list