summaryrefslogtreecommitdiffstats
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
parentgnu: xmoto: Unbundle ODE and libccd. (diff)
downloadguix-f6c6970e0dbebb7cac679f46656c2655dfe532c2.tar.gz
guix-f6c6970e0dbebb7cac679f46656c2655dfe532c2.tar.bz2
guix-f6c6970e0dbebb7cac679f46656c2655dfe532c2.tar.xz
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 25cc63a..44baace 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -941,7 +941,9 @@ use 'plain-file' instead~%")
941 ;; Default set of setuid-root programs. 941 ;; Default set of setuid-root programs.
942 (let ((shadow (@ (gnu packages admin) shadow))) 942 (let ((shadow (@ (gnu packages admin) shadow)))
943 (list (file-append shadow "/bin/passwd") 943 (list (file-append shadow "/bin/passwd")
944 (file-append shadow "/bin/sg")
944 (file-append shadow "/bin/su") 945 (file-append shadow "/bin/su")
946 (file-append shadow "/bin/newgrp")
945 (file-append shadow "/bin/newuidmap") 947 (file-append shadow "/bin/newuidmap")
946 (file-append shadow "/bin/newgidmap") 948 (file-append shadow "/bin/newgidmap")
947 (file-append inetutils "/bin/ping") 949 (file-append inetutils "/bin/ping")