Asking a user for the root password and executing root only c ommands...
Mark Charsley
mark.charsley at REMOVE_THIS.radioscape.com
Tue Nov 5 12:36:00 EST 2002
In article <apqh92$pve$0 at 216.39.172.122>, bokr at oz.net (Bengt Richter)
wrote:
> Kind of funny (not) that /sbin/shutdown must be run as root,
Thus preventing plain users logged in over telnet /ssh etc from rebooting
your machine.
> but by default any doorknob rattler could kick it off with ctrl-alt-del
> without being asked for a password. Not a cool default config IMO ;-/
Thus providing anyone with accesss to the console's power switch a more
computer-friendly way of rebooting a locked-up machine than power-cycling
it.
Seems a cool config to me.
More information about the Python-list
mailing list