April 19, 2024, 09:42:38 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: ctrl+alt+del  (Read 3399 times)

Offline shipoin_97

  • Tux Awared
  • **
  • Posts: 44
ctrl+alt+del
« 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......

Offline aktiwari4u

  • LST CareTaker
  • Crescent
  • *****
  • Posts: 161
    • http://aktiwari4u.tk/
ctrl+alt+del
« Reply #1 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.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: ctrl+alt+del
« Reply #2 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