diff options
author | Tomasz Gąsior <kontakt@tomaszgasior.pl> | 2018-08-29 09:27:26 +0200 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2018-08-30 20:49:31 +1200 |
commit | 23a85d21ebeba86339f285a3f4ce3c31a21156f1 (patch) | |
tree | 62496dfbaa7befca29e33e78f8880b5ac6624e57 | |
parent | 95e48f409295bc3ff9dbf3d1affd0fcd7a6d1698 (diff) | |
download | lightdm-git-23a85d21ebeba86339f285a3f4ce3c31a21156f1.tar.gz |
Hide systemd's dynamic users
systemd creates "dynamic users". These accounts should be hidden from login screen.
But it's possible that systemd creates them with id > 1000 and shell == "/sbin/nologin".
Currently lightdm shows these accounts if AccountService is not installed. See:
https://bbs.archlinux.org/viewtopic.php?id=238704
To fix this, add "/sbin/nologin" to ignored shells.
Please see: http://0pointer.net/blog/dynamic-users-with-systemd.html
-rw-r--r-- | data/users.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/users.conf b/data/users.conf index e4948a62..5c019931 100644 --- a/data/users.conf +++ b/data/users.conf @@ -11,4 +11,4 @@ [UserList] minimum-uid=500 hidden-users=nobody nobody4 noaccess -hidden-shells=/bin/false /usr/sbin/nologin +hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin |