guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is greetd greeter user in so many groups?


From: Brian Cully
Subject: Re: Why is greetd greeter user in so many groups?
Date: Thu, 23 Jun 2022 08:15:50 -0400
User-agent: mu4e 1.6.11; emacs 28.1


Lars-Dominik Braun <lars@6xq.net> writes:

oh, I guess they are written by greetd, not the greeter itself. Does greetd work without the groups in questions? (I don’t have access to
a powerful machine right now to test it.)

Since greetd is currently being run as root, it doesn't need any extra group membership.

I'm using the following patch with no observed change in behavior:

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index d58afb27e3..e9be2b9df1 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -2912,8 +2912,11 @@ (define (make-greetd-terminal-configuration-file config)
(define %greetd-accounts
  (list (user-account
         (name "greeter")
-         (group "wheel")
- (supplementary-groups '("users" "tty" "input" "video" "audio"))
+         (group "greeter")
+         (supplementary-groups '())
+         (system? #t))
+        (user-group
+         (name "greeter")
         (system? #t))))

(define %greetd-file-systems
--8<---------------cut here---------------end--------------->8---

-bjc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]