Bug 485216

Summary: Login screen lists users with /usr/bin/nologin shell
Product: [Unmaintained] kscreenlocker Reporter: Martin <spleefer90>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin 2024-04-08 08:50:28 UTC
I think this was introduced in 6.0.3.

This user is not in login screen:
incus:x:942:942:Incus user:/var/lib/incus:/usr/bin/nologin

This user is:
oauth2-proxy:x:1056:1057::/:/usr/bin/nologin

It looks like the current code only checks UID >999 and ignores the fact user explicitly has nologin as the shell.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 62.0 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670 AORUS ELITE AX
Comment 1 Martin 2024-04-08 10:49:08 UTC
I got confused because I was used to a different theme for years, this is SDDM.

https://github.com/sddm/sddm/issues/1909