From d921516f50a946e92f9d5dc6d3bd49aca9788ac2 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 29 Jun 2022 09:18:22 +0200 Subject: services: greetd: Remove unnecessary user groups. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/base.scm (%greetd-accounts): Remove supplementary groups users, tty, input, audio. Create special user group “greeter”. --- gnu/services/base.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/services/base.scm') 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 -- cgit 1.4.1