https://bugs.kde.org/show_bug.cgi?id=471020
Bug ID: 471020
Summary: kscreenlocker fails to unlock a session when a systemd
dynamic user is running of the same user
Classification: Plasma
Product: kscreenlocker
Version: 5.27.5
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
Kscreenlocker fails to unlock a session when a Systemd dynamic user is running
of the same user you are trying to unlock
***
STEPS TO REPRODUCE
1. Start a systemd service that pulls in DynamicUser=yes setting and the
service runs as your user
2. check getent passwd to see if the dynamic user is indeed running
[ugjka@ugjka ~]$ getent passwd
--- snip ---
ugjka:x:1000:1000:ugjka:/home/ugjka:/bin/bash
ugjka:x:1000:1000:Dynamic User:/:/usr/bin/nologin
3. Run the locker (/usr/lib64/kscreenlocker_greet --testing) and try unlocking
the session
4. Unlock fails and leaves an error in journal:
Jun 14 14:35:09 ugjka kscreenlocker_greet[8963]: pam_unix(kde:auth):
authentication failure; logname=ugjka uid=1000 euid=1000 tty= ruser= rhost=
user=ugjka
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
About dynamic users: https://0pointer.net/blog/dynamic-users-with-systemd.html
WORKAROUND
Set DynamicUser=no to systemd services that use it and that run as your user
--
You are receiving this mail because:
You are watching all bug changes.