Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Doug Newgard (Scimmia) - Tuesday, 17 July 2018, 02:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

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.

Loading...