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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] RM replacement
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RM%20replacement&In-Reply-To=%3C4E3B1FA7.5070102%40laposte.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007231.html">
<LINK REL="Next" HREF="007236.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] RM replacement</H1>
<B>andre999</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RM%20replacement&In-Reply-To=%3C4E3B1FA7.5070102%40laposte.net%3E"
TITLE="[Mageia-dev] RM replacement">andr55 at laposte.net
</A><BR>
<I>Fri Aug 5 00:39:35 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007231.html">[Mageia-dev] RM replacement
</A></li>
<LI>Next message: <A HREF="007236.html">[Mageia-dev] RM replacement
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7235">[ date ]</a>
<a href="thread.html#7235">[ thread ]</a>
<a href="subject.html#7235">[ subject ]</a>
<a href="author.html#7235">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Luis Daniel Lucio Quiroz a écrit :
><i> Helo,
</I>><i>
</I>><i> As my experience in security field, to make Mageia more available in enterprise
</I>><i> environments, and specially those that are security paranoid, i'm planning to
</I>><i> port SRM. SRM is a package that does a "secure" file deleting according some
</I>><i> security standards (i dont remember right now names, i guess it is something
</I>><i> in NIST, but that doesnt matter really).
</I>><i>
</I>><i> My question is, what should be the procedure that when you install srm, then
</I>><i> the normal rm command could be replaced? i was thinking in pushing an alias
</I>><i> but what other alternatives do i have?
</I>><i>
</I>><i> please comment,
</I>><i>
</I>><i> LD
</I>
At first glance that sounds like a reasonable approach EXCEPT -- a system-level
alias would be over-ridden by a user alias.
A user could innocently have an alias such as :
alias rm="rm -i"
rm is in /bin
- /bin/rm could be replaced with a link to srm, but I don't know if that would
be considered acceptable.
rm would have to be restored if srm were uninstalled
- wouldn't a link in /usr/bin/rm be executed first ?
Of course that doesn't cover execution with root privileges.
An alias in root wouldn't necessarily work, as an admin could inadvertantly
replace it with another. (By loading a new file with some changed alias, for
example.)
But probably less likely than some user doing the same on their profile.
There could be other approaches as well ... :)
--
André
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007231.html">[Mageia-dev] RM replacement
</A></li>
<LI>Next message: <A HREF="007236.html">[Mageia-dev] RM replacement
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7235">[ date ]</a>
<a href="thread.html#7235">[ thread ]</a>
<a href="subject.html#7235">[ subject ]</a>
<a href="author.html#7235">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|