Fix(sudo): Add secure_path
This commit is contained in:
parent
5013a2b9af
commit
1729c415c0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user