diff options
author | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2022-06-29 09:18:22 +0200 |
---|---|---|
committer | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2022-06-30 09:20:37 +0200 |
commit | d921516f50a946e92f9d5dc6d3bd49aca9788ac2 (patch) | |
tree | eeed05872dde65442f136517673d3ef1dd0ac68e /gnu/services | |
parent | 75a520cca62ea105a6fbb7f1d74b3a4ef439cd73 (diff) |
services: greetd: Remove unnecessary user groups.
* gnu/services/base.scm (%greetd-accounts): Remove supplementary groups
users, tty, input, audio. Create special user group “greeter”.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/base.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index d58afb27e3..75a0cf69d7 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -2912,8 +2912,12 @@ to handle." (define %greetd-accounts (list (user-account (name "greeter") - (group "wheel") - (supplementary-groups '("users" "tty" "input" "video" "audio")) + (group "greeter") + ;; video group is required for graphical greeters. + (supplementary-groups '("video")) + (system? #t)) + (user-group + (name "greeter") (system? #t)))) (define %greetd-file-systems |