Bug#723050: can't log in
Muchas gracias Maximiliano!
It was the permissions on /etc/shadow which were root:root 600.
Fixing them to root:shadow 640 made both xscreensaver and kscreensaver
able to log me back in!
I have no idea what may have changed permissions on shadow file, though.
Anyway, thank you very much for your help! :-)
--
Mathieu
Le 28/03/2014 20:25, Maximiliano Curia a écrit :
> ¡Hola Mathieu!
>
> El 2014-03-28 a las 19:12 +0100, Mathieu MD escribió:
>>> But if you do, could you check the permissions of the
>>> /sbin/unix_chkpwd command?
>
>> Permissions on unix_chkpwd seems to be correct with setgid shadow:
>> -rwxr-sr-x 1 root shadow 35K 02-14 00:27 /sbin/unix_chkpwd*
>
> And the password of your user is in /etc/shadow which is readable by the
> shadow group?
>
> It might be interesting to know if /sbin/unix_chkpwd is being called at all,
> using second session and strace you can check this, so you lock your screen
> and from another session, you'll need to find the pid of your screensaver,
> it can be kscreensaver, xscreensaver, or in my case plasma_overlay,
> then:
> $ strace -vfp $pid_of_screensaver -e execve
>
> Try to unlock the screensaver and check the logged output.
>
> The output shouldn't be more than 30 lines, if it's more, redirect it into a
> file and attach the file here.
>
Reply to: