From 3bcc1c37cee974cc98f7473573f82d5ccb66f8db Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Thu, 24 Dec 2020 15:48:33 -0500 Subject: [PATCH] =?UTF-8?q?=E2=80=9Csudo=E2=80=9D=20must=20remove=20SELinu?= =?UTF-8?q?x=20restrictions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise, if “user” has the SELinux user “staff_u”, the user will typically need to write “sudo -r unconfined_r -t unconfined_t”, which is annoying. If SELinux is disabled, these fields are ignored. --- passwordless-root/qubes.sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passwordless-root/qubes.sudoers b/passwordless-root/qubes.sudoers index 5c3229f..cf185eb 100644 --- a/passwordless-root/qubes.sudoers +++ b/passwordless-root/qubes.sudoers @@ -1,4 +1,4 @@ -Defaults !requiretty +Defaults role=unconfined_r, type=unconfined_t, !requiretty %qubes ALL=(ALL) NOPASSWD: ALL # WTF?! Have you lost your mind?!