From 01c68e7965b2e181fb7c4b2a4bc28c807e1c025e Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Thu, 28 Nov 2024 21:04:15 -0300 Subject: [PATCH] operating-systems: buer: rules: Permit root to run commands as other users keeping its environment --- operating-systems/buer/rules.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/operating-systems/buer/rules.scm b/operating-systems/buer/rules.scm index d141858..412a3de 100644 --- a/operating-systems/buer/rules.scm +++ b/operating-systems/buer/rules.scm @@ -11,7 +11,9 @@ (setenv `(("GUILE_LOAD_PATH" . #t) ("GUILE_LOAD_COMPILED_PATH" . #t) - ("TERM" . "linux")))))) + ("TERM" . "linux")))) + (permit (identity "root") + (keepenv? #t)))) (define text-editors (list (permit (identity ":wheel")