summaryrefslogtreecommitdiff
path: root/recipes-extended/sudo/files/sudoers.patch
blob: aed0f10f0c03ca8279717f8fa1c6f83b0ad93a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -uprN old/plugins/sudoers/sudoers.in new/plugins/sudoers/sudoers.in
--- old/plugins/sudoers/sudoers.in	2015-10-31 18:34:59.000000000 -0500
+++ new/plugins/sudoers/sudoers.in	2017-04-20 10:32:19.530931283 -0500
@@ -57,7 +57,7 @@
 # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
 ##
 ## Uncomment to use a hard-coded PATH instead of the user's to find commands
-# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 ##
 ## Uncomment to send mail if the user does not enter the correct password.
 # Defaults mail_badpass
@@ -85,7 +85,7 @@ root ALL=(ALL) ALL
 # %wheel ALL=(ALL) NOPASSWD: ALL
 
 ## Uncomment to allow members of group sudo to execute any command
-# %sudo	ALL=(ALL) ALL
+%sudo	ALL=(ALL) ALL
 
 ## Uncomment to allow any user to run sudo if they know the password
 ## of the user they are running the command as (root by default).