diff options
author | Robin Krahl <me@robin-krahl.de> | 2019-01-22 13:34:49 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2019-01-22 13:34:49 +0100 |
commit | c9a4859aeaf67e12928428bc9a3d51bb268a99e2 (patch) | |
tree | 7f2ae59a12b48c055c94ab469d928cf08687040d /common | |
parent | c74c95d3a8db117fc61c72fc966d3246bdb68f5e (diff) | |
download | ansible-roles-c9a4859aeaf67e12928428bc9a3d51bb268a99e2.tar.gz ansible-roles-c9a4859aeaf67e12928428bc9a3d51bb268a99e2.tar.bz2 |
common: Set env_reset and secure_path in sudoers file
Diffstat (limited to 'common')
-rw-r--r-- | common/files/sudoers | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/files/sudoers b/common/files/sudoers index a85e3db..9c836fb 100644 --- a/common/files/sudoers +++ b/common/files/sudoers @@ -1,2 +1,5 @@ +Defaults env_reset +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + root ALL=(ALL) NOPASSWD: ALL %sudo ALL=(ALL) NOPASSWD: ALL |