Message ID | 20200615162328.25429-1-brice@waegenei.re |
---|---|
State | Accepted |
Headers | show |
Series | [bug#41875] system: Add 'sg' and 'newgrp' to %SETUID-PROGRAMS. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
Brice Waegeneire <brice@waegenei.re> writes:
> * gnu/system.scm (%setuid-programs): Add 'sg' and 'newgrp'.
Pushed, thank you!
Brice Waegeneire <brice@waegenei.re> writes:
> * gnu/system.scm (%setuid-programs): Add 'sg' and 'newgrp'.
LGTM. Now I can remove this bit from my system config:
(setuid-programs (append (list #~(string-append #$shadow "/bin/newgrp"))
%setuid-programs)))
diff --git a/gnu/system.scm b/gnu/system.scm index 06bbc9e9c8..3e3d1927c2 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -932,7 +932,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")