[opensuse] console user keybind shutdown -r now ( AND keybind halt too???????)
Hello. I've got a question about the three fingered salute (from a virtual console) where it makes sense to give anyone with physical access to the power supply the ability to trigger a clean shutdown. Thus root doesn't have to be logged in to make <ctrl>+<alt>+<delete> trigger a "shutdown - r now"... I can't remember where to look ( durned CRS ) for the place where I could make <ctrl>+<alt>+<delete> trigger a "shutdown - h now" instead. But I could probably find it if that's what I really wanted to do. But what is quite beyond my skill level is to define another console keybinding, (say a four fingered salute like <ctrl>+<win><alt>+<delete> {or if the win key is problematical I could try <ctrl>+<alt>+<end>}) that would enable a "user" to select either "shutdown - r now" with one keybinding, OR select "shutdown - h now" with the other... Is this something that I could reasonably hope to accomplish without taking a college level course in system administration or programming??? Is there a how-to somewhere??? (if it matters I'm using OpenSuSE 11.3) Thanks in advance. -- | ~^~ ~^~ | <?> <?> Joe (theWordy) Philbrook | ^ J(tWdy)P | \___/ <<jtwdyp@ttlc.net>> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Aug 15, 2010 at 14:56, Joe(theWordy)Philbrook <jtwdyp@ttlc.net> wrote:
[snip]
I can't remember where to look ( durned CRS ) for the place where I could make <ctrl>+<alt>+<delete> trigger a "shutdown - h now" instead. But I could probably find it if that's what I really wanted to do.
try /etc/inittab HTH ne... -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
It would appear that on Aug 15, ne... did say:
On Sun, Aug 15, 2010 at 14:56, Joe(theWordy)Philbrook <jtwdyp@ttlc.net> wrote:
[snip]
I can't remember where to look ( durned CRS ) for the place where I could make <ctrl>+<alt>+<delete> trigger a "shutdown - h now" instead. But I could probably find it if that's what I really wanted to do.
try /etc/inittab
Yeah, that sounds right. But the 64 dollar question is how to add another keybinding that the system will honor... Or do you mean that All I have to do is add another line to inittab and I can have both reboot and halt on console hotkeys?? -- | ~^~ ~^~ | <?> <?> Joe (theWordy) Philbrook | ^ J(tWdy)P | \___/ <<jtwdyp@ttlc.net>> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Joe(theWordy)Philbrook
-
ne...