[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutdown/halt as user



On Fri, Feb 15, 2002 at 04:56:33AM -0500, Bob Thibodeau wrote:
> On Fri, Feb 15, 2002 at 09:49:34AM +0100, Romuald DELAVERGNE wrote:
> > Le 2002.02.15 02:29, Bob Thibodeau a ?crit :
> > >It's more secure than suid, but anyone with physical access to the
> > >machine can stop it.
> > 
> > Anyway, someone with physical access can poweroff the machine :-)
> > 
> 
> Agreed, it's a pretty moot point.
> 
> here are the lines from /etc/inittab
> 
> 
> # What to do when CTRL-ALT-DEL is pressed.
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> 
> # Action on special keypress (ALT-UpArrow).
> kb::kbrequest:/sbin/shutdown -h now

Anybody has the formula for using the power button to shut down the
machine?

-- 
Humanity's future is in the stars:
support a manned mission to Mars!
http://www.thinkmars.net/petition/addpetition.html



Reply to: