summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000491.html
blob: 22bf3da719f44db00e97d42bd74f5e0341adcc86 (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
92
93
94
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] Usernames, uids, and groups
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Usernames%2C%20uids%2C%20and%20groups&In-Reply-To=%3C20101110174058.GC1506%40maude.comedia.it%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000490.html">
   <LINK REL="Next"  HREF="000493.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] Usernames, uids, and groups</H1>
    <B>Luca Berra</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Usernames%2C%20uids%2C%20and%20groups&In-Reply-To=%3C20101110174058.GC1506%40maude.comedia.it%3E"
       TITLE="[Mageia-sysadm] Usernames, uids, and groups">bluca at vodka.it
       </A><BR>
    <I>Wed Nov 10 18:40:58 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000490.html">[Mageia-sysadm] Usernames, uids, and groups
</A></li>
        <LI>Next message: <A HREF="000493.html">[Mageia-sysadm] Usernames, uids, and groups
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#491">[ date ]</a>
              <a href="thread.html#491">[ thread ]</a>
              <a href="subject.html#491">[ subject ]</a>
              <a href="author.html#491">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, Nov 10, 2010 at 06:25:38PM +0100, nicolas vigier wrote:
&gt;<i>On Wed, 10 Nov 2010, Luca Berra wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> On Wed, Nov 10, 2010 at 01:32:47PM +0100, Michael Scherer wrote:
</I>&gt;&gt;&gt;<i> Le mercredi 10 novembre 2010 &#224; 11:55 +0100, nicolas vigier a &#233;crit :
</I>&gt;&gt;&gt;&gt;<i> On Wed, 10 Nov 2010, Luca Berra wrote:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> &gt; 2) Accountability. No idea in France, but here system administratros
</I>&gt;&gt;&gt;&gt;<i> &gt; need to be accounted (*).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> When someone runs &quot;sudo su -&quot; or something equivalent there is no
</I>&gt;&gt;&gt;&gt;<i> accountability on what he did after that.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Even more cunning, emacs or vim can run process ( except that vim has a
</I>&gt;&gt;&gt;<i> mode where it can prevent it with -Z, do not know for emacs ).
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> it is better to use sudoedit for editing files, it will copy the
</I>&gt;&gt;<i> original file to a temporary copy, revert to caller uid, let user edit
</I>&gt;&gt;<i> the file, and move it into place afterwards.
</I>&gt;<i>
</I>&gt;<i>Unless the list of files you are allowed to edit is very limited, it is
</I>&gt;<i>very easy to open a root shell by editing a config file.
</I>not with sudoedit

&gt;&gt;<i> another options is using noexec (sudo will preload a shlib overriding
</I>&gt;&gt;<i> exec calls)
</I>&gt;<i>
</I>&gt;<i>But you have an editor running as root, and you can then edit any file.
</I>the idea is that the editor runs as unprivileged user

-- 
Luca Berra -- <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">bluca at vodka.it</A>
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000490.html">[Mageia-sysadm] Usernames, uids, and groups
</A></li>
	<LI>Next message: <A HREF="000493.html">[Mageia-sysadm] Usernames, uids, and groups
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#491">[ date ]</a>
              <a href="thread.html#491">[ thread ]</a>
              <a href="subject.html#491">[ subject ]</a>
              <a href="author.html#491">[ 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>