Bug 485216 - Login screen lists users with /usr/bin/nologin shell
Summary: Login screen lists users with /usr/bin/nologin shell
Status: RESOLVED UPSTREAM
Alias: None
Product: kscreenlocker
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 6.0.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 08:50 UTC by Martin
Modified: 2024-04-08 10:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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