summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-06-21 11:23:22 +0800
committer宋文武 <iyzsong@member.fsf.org>2020-06-21 11:35:55 +0800
commitf6c6970e0dbebb7cac679f46656c2655dfe532c2 (patch)
tree183f0e51157fd198b81651dde4c3ae05fad98a65
parent027285691ae2ac1806cbf19bbdcf9b6e2dd451ff (diff)
downloadguix-f6c6970e0dbebb7cac679f46656c2655dfe532c2.tar.gz
system: Add 'sg' and 'newgrp' to %SETUID-PROGRAMS.
* gnu/system.scm (%setuid-programs): Add 'sg' and 'newgrp'.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/system.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 25cc63a9df..44baacee7b 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -941,7 +941,9 @@ use 'plain-file' instead~%")
   ;; Default set of setuid-root programs.
   (let ((shadow (@ (gnu packages admin) shadow)))
     (list (file-append shadow "/bin/passwd")
+          (file-append shadow "/bin/sg")
           (file-append shadow "/bin/su")
+          (file-append shadow "/bin/newgrp")
           (file-append shadow "/bin/newuidmap")
           (file-append shadow "/bin/newgidmap")
           (file-append inetutils "/bin/ping")