Re: sysvinit and inittab to shutdown

2009-07-23 Thread Justin P. Mattock
Bruce Dubbs wrote:
 Justin P. Mattock wrote:

 Any ideas on why ctl+alt+del doesn't shutdown my machine?
 the inittab I copied was from 6.54.3
 which has the entry there, but when exiting
 the xserver and issuing those commands, I have
 no movement.(also my user name is in shutdown.allow)
  

 Do you have

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

 in /etc/inittab?

 -- Bruce

O.k. after messing around with us.map.gz
(and at one point not having the correct keys while typing!!)
I ended up finding this procedure which works easy:
http://humanreadable.nfshost.com/howtos/inittab_shutdown.htm
Now I can  shutdown the machine, without having to use sudo.

Justin P. Mattock
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


sysvinit and inittab to shutdown

2009-07-22 Thread Justin P. Mattock
Any ideas on why ctl+alt+del doesn't shutdown my machine?
the inittab I copied was from 6.54.3
which has the entry there, but when exiting
the xserver and issuing those commands, I have
no movement.(also my user name is in shutdown.allow)

Justin P. Mattock
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: sysvinit and inittab to shutdown

2009-07-22 Thread Bruce Dubbs
Justin P. Mattock wrote:
 Any ideas on why ctl+alt+del doesn't shutdown my machine?
 the inittab I copied was from 6.54.3
 which has the entry there, but when exiting
 the xserver and issuing those commands, I have
 no movement.(also my user name is in shutdown.allow)

Do you have

  ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

in /etc/inittab?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: sysvinit and inittab to shutdown

2009-07-22 Thread Justin P. Mattock
Bruce Dubbs wrote:
 Justin P. Mattock wrote:

 Any ideas on why ctl+alt+del doesn't shutdown my machine?
 the inittab I copied was from 6.54.3
 which has the entry there, but when exiting
 the xserver and issuing those commands, I have
 no movement.(also my user name is in shutdown.allow)
  

 Do you have

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

 in /etc/inittab?

 -- Bruce

yea,
except I changed it to:

ca:12345:ctrlaltdel:/sbin/shutdown  -a -h now
(reboot doesn't work so well with 2.6.31).
added my user name to /etc/shutdown.allow

I think my keycodes are out of whack when
exiting the xserver.

Justin P. Mattock


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: sysvinit and inittab to shutdown

2009-07-22 Thread Justin P. Mattock
Bruce Dubbs wrote:
 Justin P. Mattock wrote:

 Any ideas on why ctl+alt+del doesn't shutdown my machine?
 the inittab I copied was from 6.54.3
 which has the entry there, but when exiting
 the xserver and issuing those commands, I have
 no movement.(also my user name is in shutdown.allow)
  

 Do you have

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

 in /etc/inittab?

 -- Bruce

just as I thought, del key works
when the xserver is started, but nothing
once I exit the xserver.

/etc/inputrc shows:
\e[3~: delete-char
which should give me del, I just don't know where
that is on the keyboard .

Justin P. Mattock
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page