If you suid shutdown ("chmod +s /sbin/shutdown" as root - change the path if
your system is different from mine), you will allow ANY user to execute the
shutdown command. This is a **gaping** security hole if your system is
connected to a LAN or an ISP, though, so consider your situation carefully
before you use it.

Assuming your wife is working at the console, she should be able to execute
the equivalent of shutdown but pressing the CTRL-ALT-DEL keys to reboot,
then powering off before the reboot happens.

At 08:16 AM 6/13/99 +1000, Paul Clyne wrote [in part]:
>
>On my home system there are three accounts (root, paul, and dani {my wife})
>how can I allow the non-root accounts acess to the shutdown command ?.
>
>When my wife is using the computer and wants to shut it down she has to su and
>then issue the command. There must be an easier way....
[rest deleted]

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA  94303-3603                       [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to