Screensaver, can not unlock

From FreekiWiki
Revision as of 15:24, 13 July 2013 by Paulm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sometimes the screensaver will not unlock with a correct password.

Examining the /var/log/auth.log file shows error similar to the following:

Jul 14 19:04:34 desktop unix_chkpwd[1760]: check pass; user unknown

This is caused by the /etc/shadow file having the wrong permissions or ownership. Doing "ls -l /etc/shadow" should display the following:

 -rw-r----- 1 root shadow 1241 2010-08-22 12:43 /etc/shadow

if it does not, correct it so it does.


See:

https://wiki.ubuntu.com/DebuggingScreenLocking
https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/600631