[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?

David Walser luigiwalser at yahoo.com
Sun Sep 9 16:43:43 CEST 2012

Colin Guthrie wrote:
> 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.

Actually it did cover all of them.  If ALLOW_REBOOT=no is set, it removes all 4 of those symlinks.  If it's set back to yes, it restores them.

Looking at the code, that setting also affects /etc/shutdown.allow, /etc/sysctl.conf, /etc/inittab, /etc/X11/gdm/custom.conf, and 

More information about the Mageia-dev mailing list