I updated last night (zypper dup, with standard repos plus VideoLan), and although most things seem fine I find that if the machine sleeps (eg. on lid close), when it resumes there is a password dialog (which there wasn’t before) and worse, it will not unlock the screen when I enter the correct password!
This is using KDE. I thought the resume password settings we in the power management configuration, but that seems to have moved?
Can anyone tell me where I can disable the resume password checking (or help fix the problem where my password isn’t recognised)?
Seems to be the well known permissions problem when using the deprecated pam_unix2.so.
I suppose the you cannot unlock the standard lock screen either?
There are two workarounds:
change your PAM configuration to use pam_unix.so (the default since at least openSUSE 13.1) instead of pam_unix2.so
make /usr/lib64/libexec/kcheckpass suid root, i.e. run “sudo chmod +s /usr/lib64/libexec/kcheckpass” (you probably should adjust /etc/permissions.local accordingly so that it survives updates…)
Thanks very much, that was indeed the problem. I found that there were five *.rpmnew files in /etc/pam.d which different from the real ones by “pam_unix.so” instead of pam_unix2.so and “try_first_pass”. So I copied the .rpmnew files over the real ones (there were backups anyway) and then everything seemed to be fixed.
I also changed the switch to not require the screen locker on resume, so thank for that too.