“sudo” must remove SELinux restrictions

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.
This commit is contained in:
Demi Marie Obenour 2020-12-24 15:48:33 -05:00
parent 16f48b6298
commit 3bcc1c37ce
No known key found for this signature in database
GPG Key ID: 28A45C93B0B5B6E0

View File

@ -1,4 +1,4 @@
Defaults !requiretty Defaults role=unconfined_r, type=unconfined_t, !requiretty
%qubes ALL=(ALL) NOPASSWD: ALL %qubes ALL=(ALL) NOPASSWD: ALL
# WTF?! Have you lost your mind?! # WTF?! Have you lost your mind?!