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

Re: shutdown permission to users?



In article <[🔎] 20010814231845.A10786@mir>,
Andre Berger  <andre.berger@web.de> wrote:
>Another idea, as you all have physical access: map either <CTRL ALT
>DEL> or <ALT UPARROW> to the shutdown command. For the first
>solution, in /etc/inittab (as root):
>
># What to do when CTRL-ALT-DEL is pressed.
>ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now

This is the default !

>Then issue "kill -1 1" (IIRC)

No, "init q". But you don't have to do that as Debian already comes
configured this way.

>or reboot, and you're set.

>The kbrequest way is a little more "secret" as the key combination is
>less well known.

See man inittab, where kbrequest is described

Mike.
-- 
"dselect has a user interface which scares small children"
	-- Theodore Tso, on debian-devel



Reply to: