Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm working on a Lenovo ThinkPad SL510 with Ubuntu 12.04 installed and got a weird problem that's driving me nuts. When I close the lid and try to login afterwards, my password won't get accepted. ("Authentication failed"). But when I click on "Switch User", choose my user again, login is working perfectly.

The auth.log says:

May  8 20:00:00 support-bereitschaft2 unix_chkpwd[6805]: check pass; user unknown
May  8 20:00:00 support-bereitschaft2 unix_chkpwd[6805]: password check failed for user (drauber)
May  8 20:00:00 support-bereitschaft2 gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=1010 euid=1010 tty=:0.0 ruser= rhost=  user=drauber
May  8 20:00:02 support-bereitschaft2 unix_chkpwd[6881]: check pass; user unknown
May  8 20:00:06 support-bereitschaft2 unix_chkpwd[6882]: check pass; user unknown
May  8 20:00:06 support-bereitschaft2 unix_chkpwd[6882]: password check failed for user (drauber)
May  8 20:00:06 support-bereitschaft2 gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=1010 euid=1010 tty=:0.0 ruser= rhost=  user=drauber

This is the correct username and as I said, after clicking on "Switch User", the login is working without problems, although the log entries also look a bit weird:

May  8 20:06:16 support-bereitschaft2 su[8790]: Successful su for drauber by root
May  8 20:06:16 support-bereitschaft2 su[8790]: + ??? root:drauber
May  8 20:06:16 support-bereitschaft2 su[8790]: pam_unix(su:session): session opened for user drauber by (uid=0)
May  8 20:06:17 support-bereitschaft2 su[8790]: pam_unix(su:session): session closed for user drauber
May  8 20:06:17 support-bereitschaft2 su[8803]: Successful su for drauber by root
May  8 20:06:17 support-bereitschaft2 su[8803]: + ??? root:drauber
May  8 20:06:17 support-bereitschaft2 su[8803]: pam_unix(su:session): session opened for user drauber by (uid=0)
May  8 20:06:17 support-bereitschaft2 su[8803]: pam_unix(su:session): session closed for user drauber
May  8 20:06:17 support-bereitschaft2 unix_chkpwd[8972]: check pass; user unknown
May  8 20:06:21 support-bereitschaft2 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
May  8 20:06:21 support-bereitschaft2 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :1
May  8 20:06:22 support-bereitschaft2 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "drauber"
May  8 20:06:22 support-bereitschaft2 dbus[768]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.301" (uid=104 pid=9197 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.13" (uid=0 pid=1350 comm="/usr/sbin/console-kit-daemon --no-daemon ")
May  8 20:06:45 support-bereitschaft2 lightdm: pam_unix(lightdm:session): session closed for user lightdm

Any ideas would be appreciated.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.