Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

F26 - authentication failure after lock

I have been hitting this issue intermittently since the initial installation of Fedora 26 on my laptop.

From time to time, I get authentication failure after locking the screen while I am 100% sure of using the correct password.
To get around it, I first have to click on 'Log in as another user' and back on my user, then I log in successfully.
Reboot eliminates the problem for a while, but it springs up again.

I started journal -f last time.
Here is an unsuccessful login attempt:
unix_chkpwd[558]: password check failed for user ()
gdm-password][547]: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=/dev/tty2 ruser= rhost= user=username
audit[547]: USER_AUTH pid=547 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=? acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty2 res=failed'
audit[547]: USER_LOGIN pid=547 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='uid=1000 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=? res=failed'

A successful login attempt after clicking on 'Log in as another user': kernel: rfkill: input handler enabled
gdm-password][641]: gkr-pam: unlocked login keyring
audit[641]: USER_AUTH pid=641 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix,pam_gnome_keyring acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty1 res=success'
audit[641]: USER_ACCT pid=641 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty1 res=success'

F26 - authentication failure after lock

I have been hitting this issue intermittently since the initial installation of Fedora 26 on my laptop.

From time to time, I get authentication failure occasionally after locking the screen while I am 100% sure of using the correct password.
To get around it, I first have to click on 'Log in as another user' and back on my user, then I log in successfully.
Reboot eliminates the problem for a while, but it springs up again.again after some time.

I started journal -f last time.
Here is an unsuccessful login attempt:
unix_chkpwd[558]: password check failed for user ()
gdm-password][547]: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=/dev/tty2 ruser= rhost= user=username
audit[547]: USER_AUTH pid=547 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=? acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty2 res=failed'
audit[547]: USER_LOGIN pid=547 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='uid=1000 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=? res=failed'

A successful login attempt after clicking on 'Log in as another user': kernel: rfkill: input handler enabled
gdm-password][641]: gkr-pam: unlocked login keyring
audit[641]: USER_AUTH pid=641 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_unix,pam_gnome_keyring acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty1 res=success'
audit[641]: USER_ACCT pid=641 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="" exe="/usr/libexec/gdm-session-worker" hostname=host.name.local addr=? terminal=/dev/tty1 res=success'