Fedora Linux Support Community & Resources Center
Old 4th May 2005, 04:18 AM
ajwynn Offline
Registered User
Join Date: Apr 2005
Posts: 11
Trying to modify CTRL ALT DEL

I'm trying to modify my box so that the CTRL ALT DEL key combination does nothing. I edited /etc/inittab from:

ca::ctrlaltdel:/sbin/shutdown -t3 -r now



Then called:

/sbin/telinit q

which I believe should tell init to re-read the /etc/inittab file and put the change I made into effect. When I press CTRL ALT DEL, the "Are you sure you want to log out" dialog still pops up. I even rebooted, but the dialog still comes up. So, I am thinking that this is being caught somewhere else. Does anyone know what is going on here?


Reply With Quote
Old 4th May 2005, 08:04 AM
tonytiger Offline
Registered User
Join Date: Jun 2004
Posts: 168
Maybe it's Gnome which now uses the key combination. Go to GConf editor which can be found from Main Menu ->System tools. Next browse to /apps/metacity/global_keybindings and check if something is valued <CTRL><ALT>Delete.
In my configuration the key combination is assigned to run_command_1 and the command_1 is assigned to gnome-session-save --kill.
You can find the corresponding command from /apps/metacity/keybinding_commands.

Hope this helps.

Reply With Quote
Old 4th May 2005, 08:12 AM
ilja Offline
Registered User
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
"Are you sure you want to log out" doesn't sound like
/sbin/shutdown -t3 -r now
This is a reboot. I would not take it out, as if your system one day refuses to work you can reboot it with ctrl+alt+del. So tonytiger's guess is much better.
Reply With Quote
Old 4th May 2005, 02:45 PM
ajwynn Offline
Registered User
Join Date: Apr 2005
Posts: 11
Thanks for the responses. Tony, you are correct, I have the same key binding. I thought there was something like this, I just couldn't remember exactly where it was. Ilja, I agree that the dialog I was seeing does not sound like the command /sbin/shutdown -t3 -r now, this is why I was so confused. I don't really want to do this, but was doing an assignment for a class. The question was how to disable the CTRL ALT DEL key combination from shutting down the machine, and if you would have to reboot the machine after making the changes for them to take effect. From the man page for init, I thought I should just be able to edit /etc/inittab then call /sbin/telinit q to have init reread the /etc/inittab file. When this didn't disable the key combination, I was confused and figured the key combination was being caught somewhere else above init. These responses have definitely answered my questions. Thanks so much.

Reply With Quote

alt, ctrl, del, modify

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between ctrl-c and ctrl-\ pushparaj_bits Programming & Packaging 7 10th October 2009 08:05 AM
[F10]Konsole Ctrl+S Ctrl+Q wargrey Using Fedora 0 10th December 2008 03:25 PM
emacs ctrl-home and ctrl-end dont work in "no window" mode daviddoria Using Fedora 2 18th June 2008 04:16 PM
modify ldap b4u Servers & Networking 0 19th June 2005 06:15 PM
HP ZE4420 dies after Ctrl+Alt+F3, Ctrl+Alt+F7 cyclops Hardware & Laptops 2 18th May 2005 02:42 AM

Current GMT-time: 02:34 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat