[clue-tech] Disabling shutdown.
David L. Anselmi
anselmi at anselmi.us
Wed Aug 6 21:59:25 MDT 2008
So I do backups on my desktop and sometimes have trouble with users
shutting it down while they're running.
When I asked here before the idea of renaming or chmod -x on the
shutdown command was suggested and that works pretty well, at least
against the KDE "turn off" button. Anyone know if there are commands
that halt the system that bypass shutdown?
I'd also like to give the user some feedback (and even better log them
out after). I can script that with zenity (oh, and without zenity if
they're in text mode, and autodetect!!) and the backups can swap
shutdown for my script.
But maybe these fancy modern desktops already provide a way to send
system messages to users, and disable shutdowns, that would be less work
to maintain? Perhaps in KDE it would be with dcop.
I guess that if I want cross-desktop it's a code it yourself deal. So I
won't complain if it's desktop-specific if it's built-in.
Anyone have any good ideas?
Dave
More information about the clue-tech
mailing list