blob: bbc7cb247e94595739fd3e37258abe6e4ec7bc1d (
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
95
96
97
98
99
100
101
102
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Anyone%20know%20where%20/usr/bin/shutdown%20comes%20from%3F&In-Reply-To=%3C20120907181659.506f57f7%40SuperSize.eslrahc.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="018532.html">
<LINK REL="Next" HREF="018550.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?</H1>
<B>Charles A Edwards</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Anyone%20know%20where%20/usr/bin/shutdown%20comes%20from%3F&In-Reply-To=%3C20120907181659.506f57f7%40SuperSize.eslrahc.com%3E"
TITLE="[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?">CAE at eslrahc.com
</A><BR>
<I>Sat Sep 8 00:16:59 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="018532.html">[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
</A></li>
<LI>Next message: <A HREF="018550.html">[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18540">[ date ]</a>
<a href="thread.html#18540">[ thread ]</a>
<a href="subject.html#18540">[ subject ]</a>
<a href="author.html#18540">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, 07 Sep 2012 20:08:53 +0200
Olivier Blin wrote:
><i> > Not owned by any package so presumably it's from a %post or similar.
</I>><i> > Anyone know which package or a way to easily search for it?
</I>><i>
</I>><i> Looks like it's created by msec, see /usr/share/msec/plugins/msec.py:
</I>><i> shutdown.exists() or shutdown.symlink(CONSOLE_HELPER)
</I>><i>
</I>><i> And from "rpm -q --scripts usermode":
</I>><i>
</I>><i> postinstall scriptlet (using /bin/sh):
</I>><i> if [ ! -z "$SECURE_LEVEL" ];then
</I>><i> if [ -x /usr/sbin/msec -a "$SECURE_LEVEL" -gt "3" ]; then
</I>><i> /usr/sbin/msec $SECURE_LEVEL || true ; fi
</I>><i> fi
</I>
Yep.
If you look at the file type it's a symlink to consolehelper.
If called as user it will require root passwd to run.
Charles
--
Man's unique agony as a species consists in his perpetual conflict
between the desire to stand out and the need to blend in.
-- Sydney J. Harris
----------------------
Mageia release 3 (Cauldron) for x86_64$
On SuperSize....<A HREF="http://www.eslrahc.com">http://www.eslrahc.com</A>
Registered Linux user #182463
3.5.3-tmb-server-1.mga3 x86_64
----------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120907/78f1a2eb/attachment.asc>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="018532.html">[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
</A></li>
<LI>Next message: <A HREF="018550.html">[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18540">[ date ]</a>
<a href="thread.html#18540">[ thread ]</a>
<a href="subject.html#18540">[ subject ]</a>
<a href="author.html#18540">[ 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>
|