Patrick Schleizer 2021-06-20 10:16:33 -04:00
parent 419f1d89c2
commit eff5af0318
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -5,6 +5,7 @@
## "/usr/local/etc/permission-hardening.d/20_user.conf" for your custom
## configuration. When security-misc is updated, this file may be overwritten.
## https://forums.whonix.org/t/restrict-root-access/7658/116
## This restricts the file permissions of the sudo executable so that a vulnerability
## in the program will not be exploitable by any users not in the "sudo" group. sudo
## is a very complex program and is setuid so vulnerabilities in it can allow privilege
@ -15,5 +16,5 @@
## the "sudo" group could exploit such vulnerabilities. For example, this would prevent a
## compromised network-facing daemon (such as web servers, time synchronization daemons,
## etc.) running as its own user from exploiting sudo to escalate privileges.
/usr/bin/sudo 4750 root sudo
/bin/sudo 4750 root sudo
#/usr/bin/sudo 4750 root sudo
#/bin/sudo 4750 root sudo