According to Kurt Wall: While burning my CPU.
> 
> Using recycled bits, Abhishek Kumar said:
> % 
> %     I wanted to use the ctrl-alt-del sequence to shutdown my system and
> % only changed the following entry in my /etc/inittab:
> %     from        ca::ctrlaltdel:/sbin/shutdown -t3 -r  now
> %     to             ca::ctrlaltdel:/sbin/shutdown -t3 -h now
> % 
> % But after I made this change, the sequence stopped working at all(even
> % after I changed it back). Can there be a problem with setting file
> % permission? Currently it is     -rw-r--r--
> % 
> %     What should I change? Thanks for answering.

The change was not valid, after ANY change in /etc/inittab you need to make
init reread the file for the changes to take effect, use; 'init q' to do
that.

If you do not use 'init q' then the change will only have an effect "AFTER"
the next reboot, which gives the impression that your changes did NOT work.

'man init' will explain.

> 
> The relevant piece of my /etc/inittab looks like this:
> 
> # Trap CTRL-ALT-DELETE
> ca:12345:ctrlaltdel:/sbin/shutdown -t3 -r now
> 
> The permissions are:
> 
> -rw-r--r--   1 root     root         2409 Nov 24  1997 /etc/inittab
> 
> -- 
> Kurt Wall
> Boss to employee:  "It's called 'delegation of authority,' not 'picking
> the scapegoat in advance.'" (Shamelessly stolen sig)
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Happy New Year, and may all your troubles be small (ones).

Reply via email to