Comment 7 for bug 32074

Revision history for this message
Carlos Sevcik (carlos-sevcik-s) wrote : Re: [Bug 32074] A Locked session can not be unlocked

If I don't change /etc/shadow it should not change, in any case here it is:

*ls -ls /etc/shadow
4 -rw-r----- 1 root root 846 2006-02-14 21:39 /etc/shadow
*
so its root:root. Changing it to root:shadow makes no difference in my case.

I just checked another machine with Fedora Core 4 and /etc/shadow is
also root:root. Since my times (more than 10 years ago) working under
Solaris /etc/shadow only belongs to root. My security handbook says
/etc/shadow should belong to root and *only* to root.

The problem started after the upgrade from the original KDE in Kubuntu
to 3.5.1. Also it started in both my office workstation and my laptop at
the same time (after upgrading Kubuntu to 3.5.1). The bug you mention
relates to being unable to unlock a locked session, this happened to me
from the very moment I installed of Kubuntu (see my report 32074) so I
don't think there is a connection with any of this two previous bugs.

regards

Carlos

Luka Renko wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/32074
>
> Comment:
> This might be a duplicate of bug 26175.
>
> Please check your /etc/shadow file bt doing the following command:
> ls -l /etc/shadow
>
> You should get something like this:
> -rw-r----- 1 root shadow 811 Mar 1 21:50 /etc/shadow
>
> If it is not owned by root:shadow, you should fix it manually (sudo chown root:shadow /etc/shadow).
> If you are runing KDE and have used Users config in System Settings, then it was most probably caused by that bug in kde-guidance.
>
>