Fix(sudo): Add secure_path
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
root ALL=(ALL) ALL
|
root ALL=(ALL) ALL
|
||||||
%sudo ALL=(ALL) ALL
|
%sudo ALL=(ALL) ALL
|
||||||
|
|
||||||
|
Defaults env_reset
|
||||||
|
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
|
|
||||||
#includedir /etc/sudoers.d
|
#includedir /etc/sudoers.d
|
||||||
|
Reference in New Issue
Block a user