FS#59322 - [lightdm] "Dynamic User" visible in user list
Attached to Project:
Arch Linux
Opened by A. Bosch (progandy) - Friday, 13 July 2018, 08:55 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 14:23 GMT
Opened by A. Bosch (progandy) - Friday, 13 July 2018, 08:55 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 06 September 2022, 14:23 GMT
|
Details
Description:
If accountsservice is not installed, then LightDM does not hide users created by systemd with DynamicUser=yes in the login screen. Solution: Add /sbin/nologin to hidden-shells in /etc/lightdm/users.conf, systemd uses that for dynamic users. Additional info: * package version(s) systemd 239.0-2 lightdm 1:1.26.0-1 accountsservice *not* installed https://bbs.archlinux.org/viewtopic.php?id=238704 Steps to reproduce: run a systemd service with DynamicUser=yes and switch to the login screen. (The service must not contain a User= directive that points to an existing user in /etc/passwd) systemd-run --pty --property=DynamicUser=yes /bin/sh getent passwd ... run-u16702:*:64024:64024:Dynamic User:/:/sbin/nologin |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Tuesday, 06 September 2022, 14:23 GMT
Reason for closing: Fixed
Additional comments about closing: 1:1.32.0-4
Tuesday, 06 September 2022, 14:23 GMT
Reason for closing: Fixed
Additional comments about closing: 1:1.32.0-4
Comment by Doug Newgard (Scimmia) -
Tuesday, 17 July 2018, 02:56 GMT
Seems to be covered by optional deps, but we'll see what the
maintainer wants to do.