From c9a4859aeaf67e12928428bc9a3d51bb268a99e2 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 22 Jan 2019 13:34:49 +0100 Subject: common: Set env_reset and secure_path in sudoers file --- common/files/sudoers | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3