[Mageia-sysadm] [521] add defaults
root at mageia.org
root at mageia.org
Tue Dec 7 01:16:44 CET 2010
Revision: 521
Author: boklm
Date: 2010-12-07 01:16:44 +0100 (Tue, 07 Dec 2010)
Log Message:
-----------
add defaults
Modified Paths:
--------------
puppet/modules/sudo/templates/sudoers
Modified: puppet/modules/sudo/templates/sudoers
===================================================================
--- puppet/modules/sudo/templates/sudoers 2010-12-07 00:04:54 UTC (rev 520)
+++ puppet/modules/sudo/templates/sudoers 2010-12-07 00:16:44 UTC (rev 521)
@@ -1 +1,14 @@
+Defaults env_reset
+Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE LS_COLORS"
+Defaults env_keep += "MAIL PS1 PS2 USERNAME LANG LC_ADDRESS LC_CTYPE"
+Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
+Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
+Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"
+
+Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
+
+## Allow root to run any commands anywhere
+root ALL=(ALL) ALL
+
+## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101207/d1bdc9d2/attachment-0001.html>
More information about the Mageia-sysadm
mailing list