You are not logged in.

#1 2020-07-10 15:28:59

renodesper
Member
From: Bandung
Registered: 2010-12-26
Posts: 43
Website

Failed to login using a valid password on SDDM after screen was locked

Hi guys,
So, I just found out that sometimes I cannot unlock the SDDM after the screen was locked automatically. Below, I attach the output of journalctl and other things that might help. Any help is appreciated.

Jul 10 22:14:21 aitheria systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 10 22:14:21 aitheria dbus-daemon[541]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 10 22:14:21 aitheria systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 10 22:14:21 aitheria audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 22:14:21 aitheria kernel: audit: type=1130 audit(1594394061.697:477): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>
Jul 10 22:14:32 aitheria systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jul 10 22:14:32 aitheria audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 22:14:32 aitheria kernel: audit: type=1131 audit(1594394072.434:478): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>
Jul 10 22:17:51 aitheria unix_chkpwd[61060]: check pass; user unknown
Jul 10 22:17:51 aitheria unix_chkpwd[61061]: check pass; user unknown
Jul 10 22:17:51 aitheria audit[61061]: USER_AUTH pid=61061 uid=60175 auid=60175 ses=2 msg='op=PAM:unix_chkpwd acct="renodesper" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=failed'
Jul 10 22:17:51 aitheria unix_chkpwd[61061]: password check failed for user (renodesper)
Jul 10 22:17:51 aitheria kcheckpass[60074]: pam_unix(kde:auth): authentication failure; logname= uid=60175 euid=60175 tty=:0 ruser= rhost=  user=renodesper
Jul 10 22:17:51 aitheria kcheckpass[60074]: pam_systemd_home(kde:auth): Failed to acquire home for user renodesper: Access denied
Jul 10 22:17:51 aitheria kcheckpass[60074]: Authentication failure for renodesper (invoked by uid 60175)
Jul 10 22:17:51 aitheria kernel: audit: type=1100 audit(1594394271.504:479): pid=61061 uid=60175 auid=60175 ses=2 msg='op=PAM:unix_chkpwd acct="renodesper" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=failed'
❯ less /etc/pam.d/sddm
#%PAM-1.0

auth            include         system-login
-auth           optional        pam_gnome_keyring.so
-auth           optional        pam_kwallet5.so
account         include         system-login
password        include         system-login
-password       optional        pam_gnome_keyring.so use_authtok
session         optional        pam_keyinit.so force revoke
session         include         system-login
-session        optional        pam_gnome_keyring.so auto_start
-session        optional        pam_kwallet5.so auto_start
❯ less /etc/pam.d/kde 
#%PAM-1.0

auth            include         system-login
account         include         system-login
password        include         system-login
session         include         system-login
❯ ls -l /etc/pam.d/
total 164
-rw-r--r-- 1 root root 160 Feb  4 19:31 chage
-rw-r--r-- 1 root root 160 May 21 02:27 chfn
-rw-r--r-- 1 root root 103 Feb  4 19:31 chgpasswd
-rw-r--r-- 1 root root 174 Feb  4 19:31 chpasswd
-rw-r--r-- 1 root root 160 May 21 02:27 chsh
-rw-r--r-- 1 root root 281 Nov  1  2019 crond
-rw-r--r-- 1 root root  87 Apr 28 13:41 cups
-rw-r--r-- 1 root root 160 Feb  4 19:31 groupadd
-rw-r--r-- 1 root root 160 Feb  4 19:31 groupdel
-rw-r--r-- 1 root root 103 Feb  4 19:31 groupmems
-rw-r--r-- 1 root root 160 Feb  4 19:31 groupmod
-rw-r--r-- 1 root root 171 Jul  8 01:05 i3lock
-rw-r--r-- 1 root root 322 Jul  4 19:04 kde
-rw-r--r-- 1 root root 220 May 21 02:27 login
-rw-r--r-- 1 root root 174 Feb  4 19:31 newusers
-rw-r--r-- 1 root root 383 Jul  4 00:22 nss-auth
-rw-r--r-- 1 root root 274 Nov 13  2019 other
-rw-r--r-- 1 root root 198 Feb  4 19:31 passwd
-rw-r--r-- 1 root root 155 Feb 23 07:06 polkit-1
-rw-r--r-- 1 root root 500 Nov 14  2019 rlogin
-rw-r--r-- 1 root root 425 Nov 14  2019 rsh
-rw-r--r-- 1 root root  76 May 21 02:27 runuser
-rw-r--r-- 1 root root  76 May 21 02:27 runuser-l
-rw-r--r-- 1 root root 402 Feb 22 17:51 sddm
-rw-r--r-- 1 root root 554 Feb 22 17:51 sddm-autologin
-rw-r--r-- 1 root root 397 Feb 22 17:51 sddm-greeter
-rw-r--r-- 1 root root 160 Feb  4 19:31 shadow
-rw-r--r-- 1 root root 232 May 27 13:57 sshd
-rw-r--r-- 1 root root 366 May 21 02:27 su
-rw-r--r-- 1 root root 200 Jul  5 20:25 sudo
-rw-r--r-- 1 root root 366 May 21 02:27 su-l
-rw-r--r-- 1 root root 161 Jan 23 02:58 swaylock
-rw-r--r-- 1 root root 406 Jul  4 00:25 system-auth
-rw-r--r-- 1 root root 131 Jun 23 18:09 systemd-user
-rw-r--r-- 1 root root 189 Jul  5 20:25 system-local-login
-rw-r--r-- 1 root root 713 Nov 13  2019 system-login
-rw-r--r-- 1 root root 143 Nov 13  2019 system-remote-login
-rw-r--r-- 1 root root 260 Nov 13  2019 system-services
-rw-r--r-- 1 root root 160 Feb  4 19:31 useradd
-rw-r--r-- 1 root root 160 Feb  4 19:31 userdel
-rw-r--r-- 1 root root 160 Feb  4 19:31 usermod

Offline

#2 2020-07-17 01:57:24

MasterGeek.MX
Member
From: Mexico City, America, Earth.
Registered: 2019-09-16
Posts: 32

Re: Failed to login using a valid password on SDDM after screen was locked

This might not be even relevant, Are you using a non-english keyboard? I have a spanish keyboard and SDDM by default loads the US keyboard layout. Id your password contains any sign (which it should) maybe SDDM is getting the wrong symbol. Here is the wiki section covering it

Last edited by MasterGeek.MX (2020-07-17 01:58:12)


I made a bow to not perpetrate the meme, so I don't RTMF people, and I don't even say the name of the distro unless I am asked direclty.

Offline

#3 2020-07-17 02:24:20

renodesper
Member
From: Bandung
Registered: 2010-12-26
Posts: 43
Website

Re: Failed to login using a valid password on SDDM after screen was locked

MasterGeek.MX wrote:

This might not be even relevant, Are you using a non-english keyboard? I have a spanish keyboard and SDDM by default loads the US keyboard layout. Id your password contains any sign (which it should) maybe SDDM is getting the wrong symbol. Here is the wiki section covering it

Actually, this issue is only happening when I use a user that is created using systemd-homed. So, I decide to use useradd for now. We can say that it has been solved but I cannot update the title.

Offline

Board footer

Powered by FluxBB