Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Others => Miscellaneous => Topic started by: shipoin_97 on January 07, 2006, 06:30:36 AM

Title: ctrl+alt+del
Post by: shipoin_97 on January 07, 2006, 06:30:36 AM
DeaR ,

         I make a Command in my Linux box and that is , we know pressing "ctrl+alt+delete"
the machine will be restart , but  i f  i  want to press  "ctrl+alt+delete" and want to  shutdown my pc .....then what  will i do .

 
                                                                                                    thx......
Title: ctrl+alt+del
Post by: aktiwari4u on January 12, 2006, 07:00:56 AM
start the yast module and in security and user section start local setting second or third option will be boot setting where you may define the action for alt+ctrl+del halt reboot or no action.
Title: Re: ctrl+alt+del
Post by: dragoncity99 on January 20, 2006, 08:21:43 AM
Quote from: "shipoin_97"
DeaR ,

         I make a Command in my Linux box and that is , we know pressing "ctrl+alt+delete"
the machine will be restart , but  i f  i  want to press  "ctrl+alt+delete" and want to  shutdown my pc .....then what  will i do .

 
                                                                                                    thx......


U can modify the file /etc/inittab line below:

ca::ctrlaltdel:put ur shutdown command here. i.e. poweroff

The statement above is from RedHat 9. Refer to ur own distro please...

Cheers,
Dragon