Richard Kettlewell wrote:
>
> CTRL-ALT-DEL seems perfectly sensible to me.
>
I can't see how that can be made to work via an IceWM menu, though.
>
> I'd suggest doing that to shutdown instead of halt - it appears (from
> Debian's source) to be actually designed for setuid running, which
> halt is not, and making programs setuid when they are not designed for
> it can lead to unintended consequences.
>
Brett Parker wrote:
>
> SetUID evil! I'd definately go for a sudo job, and probably alias halt
> to sudo halt, reboot to sudo reboot and shutdown to sudo shutdown. Also
> makes it easy to add any other programs in to the list, *AND*, means you
> can limit which users have access to which groups of commands.
>
Well - now I've learnt something else new! I've often wondered,
whilst watching the packages scroll up the screen during a Slackware
installation, what sudu was all about. Thanks to mention of it here, now
I've been and gone and found out!
Until I get it working properly, though, I've managed to set
'shutdown' to suid and that now seems to work properly with IceWM's menu
item.
Thanks again to everyone who'se contributed to my progress!
Cheers,
Gerald.