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

Re: debian is neat but how do I turn the computer off?



On Fri, Jun 14, 2002 at 10:39:54AM +1000, James Cameron wrote:
| On Thu, 2002-06-13 at 14:53, Derrick 'dman' Hudson wrote:
| > Also, the default inittab has Ctrl-Alt-Del mapped to reboot the
| > system.  You can always use that to try and reboot.  (I remapped it to
| > shutdown on my systems because I wanted to)
| 
| (a) how to make this work even in X,

It does ... I think (but I'm not testing it right now -- I'm using the
machine :-).

| (b) how to make this change to /etc/inittab as a package to be installed
| on multiple machines?

The change is as follows :

--- inittab.orig	Thu Jun 13 20:47:58 2002
+++ inittab	Thu Jun 13 20:47:48 2002
@@ -30,7 +30,7 @@
 z6:6:respawn:/sbin/sulogin
 
 # What to do when CTRL-ALT-DEL is pressed.
-ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
+ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
 
 # Action on special keypress (ALT-UpArrow).
 kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."


One character difference.  It doesn't look like inittab is in any
package, so I don't know the best way to automatically change it on
multiple systems.
every 

-D

-- 

Microsoft encrypts your Windows NT password when stored on a Windows CE
device. But if you look carefully at their encryption algorithm, they
simply XOR the password with "susageP", Pegasus spelled backwards.
Pegasus is the code name of Windows CE. This is so pathetic it's
staggering.
                                http://www.cegadgets.com/artsusageP.htm
 
http://dman.ddts.net/~dman/

Attachment: pgpmZb9o8ybvp.pgp
Description: PGP signature


Reply to: