Unlocking screen when locked not working in 5.0 rc2
-
- White ninja
- Posts: 11
- Joined: 09 Jan 2017, 20:19
- Distribution: Opensuse Tumbleweed
- Location: Spain
Unlocking screen when locked not working in 5.0 rc2
I have a timeout set to lock the screen after a certain time but unlocking fails even though the password is correct. Have to kill x to start the session again, then it works with my password (btw I set a custom user password) In rc1 it worked, what I see different is that pam now seems included, is that maybe the cause? I tried some options but couldn't get it to work
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Unlocking screen when locked not working in 5.0 rc2
KDE right? what's the permissions on your /etc/shadow file? seems kde's screenlocker needs it to be rw--r--r (which is a security concern... not sure if this is something we've done or a KDE bug)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- White ninja
- Posts: 11
- Joined: 09 Jan 2017, 20:19
- Distribution: Opensuse Tumbleweed
- Location: Spain
Unlocking screen when locked not working in 5.0 rc2
Yes, KDE, forgot to add that info.
And yes, that fixes it, which is a security risk, I agree, but what I don't understand is that my KDE in Opensuse has the same permissions as the original one in Porteus, even the group owner is the same, and there it works with rw--r----
And yes, that fixes it, which is a security risk, I agree, but what I don't understand is that my KDE in Opensuse has the same permissions as the original one in Porteus, even the group owner is the same, and there it works with rw--r----
-
- White ninja
- Posts: 11
- Joined: 09 Jan 2017, 20:19
- Distribution: Opensuse Tumbleweed
- Location: Spain
Unlocking screen when locked not working in 5.0 rc2
Not satisfied with a user readable shadows file, I kept searching for a better solution. I found one but don't know about security implications.
I changed the permissions of /usr/lib64/libexec/kcheckpass to 4755 and that solved it.
I changed the permissions of /usr/lib64/libexec/kcheckpass to 4755 and that solved it.
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Unlocking screen when locked not working in 5.0 rc2
was thinking along those lines ... looks like (lots of) file permissions got messed up somewhere in the process of tweaking the original build... and indeed, that file should have been rwsr-x--x ..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44