operating-systems: buer: rules: Permit root to run commands as other users keeping its environment

main
Luis Guilherme Coelho 2024-11-28 21:04:15 -03:00
parent b3339e4ff1
commit 01c68e7965
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@
(setenv (setenv
`(("GUILE_LOAD_PATH" . #t) `(("GUILE_LOAD_PATH" . #t)
("GUILE_LOAD_COMPILED_PATH" . #t) ("GUILE_LOAD_COMPILED_PATH" . #t)
("TERM" . "linux")))))) ("TERM" . "linux"))))
(permit (identity "root")
(keepenv? #t))))
(define text-editors (define text-editors
(list (permit (identity ":wheel") (list (permit (identity ":wheel")