[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?
Colin Guthrie
mageia at colin.guthr.ie
Sat Sep 8 19:39:26 CEST 2012
'Twas brillig, and Pascal Terjan at 08/09/12 18:12 did gyre and gimble:
> On Sat, Sep 8, 2012 at 3:01 AM, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> We can now replace this symlink with a direct link to systemctl and
>> policy kit should take care of things. Seems odd that shutdown was
>> affected by msec, but halt, reboot and poweroff were not. Seems kinda
>> pointless and a mis-feature really.
>
> I would not say pointless, allowing non root user to shutdown the
> machine makes sense to be part of the security policy of the machine
As a feature it's not pointless, but as an implementation it didn't
really cover things and I call it pointless as the feature only covered
the shutdown binary and not poweroff, halt or reboot binaries.
>> As it never really worked, I'll kill it from msec and just ship it
>> statically. If this msec feature is needed/desirable then it'll need to
>> be re-implemented as an automatic edit of the policykit policy.
>
> Well a lot of what msec does should be updated for current technologies
> drakx should also be updated to require authorization for actions
> instead of running as root
Indeedy.
Col
--
Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the Mageia-dev
mailing list