blob: b9d84541781c79986724490f2cf29e567b729b22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [521] add defaults
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B521%5D%20add%20defaults&In-Reply-To=%3C20101207001644.DEE8C3FE1A%40valstar.mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001038.html">
<LINK REL="Next" HREF="001040.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [521] add defaults</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B521%5D%20add%20defaults&In-Reply-To=%3C20101207001644.DEE8C3FE1A%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [521] add defaults">root at mageia.org
</A><BR>
<I>Tue Dec 7 01:16:44 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="001038.html">[Mageia-sysadm] [520] do not require tty for youri wrapper, since we don' t ask for a password
</A></li>
<LI>Next message: <A HREF="001040.html">[Mageia-sysadm] [522] sudo used by youri_submit
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1039">[ date ]</a>
<a href="thread.html#1039">[ thread ]</a>
<a href="subject.html#1039">[ subject ]</a>
<a href="author.html#1039">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001038.html">[Mageia-sysadm] [520] do not require tty for youri wrapper, since we don' t ask for a password
</A></li>
<LI>Next message: <A HREF="001040.html">[Mageia-sysadm] [522] sudo used by youri_submit
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1039">[ date ]</a>
<a href="thread.html#1039">[ thread ]</a>
<a href="subject.html#1039">[ subject ]</a>
<a href="author.html#1039">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>
|