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

Re: shutdown/halt as user



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

iirc, I had to play with some setting to get ctrl-alt-end map to
kbrequest <see parentheses above>, but it was so long ago I don't
remember what.

Bob



Reply to: