Disable ctrl+alt+del on Centos Linux server
Q. How do I disable CTRL + ALT + DEL reboot keys shortcut on Linux server?
A. CTRL+ALT+DEL reboot is configured using /etc/inittab file. Open this file and remove ctrlaltdel entry (login as root):
# vi /etc/inittab
Find line:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Replace it (i.e comment out theline by putting a hash mark (#) in front of it):
# ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Close and save the file. Type command to reread /etc/inittab:
# init q
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux configure batch jobs using at command
- Linux / UNIX: Getting information about reboots and shutdowns
- Reboot Linux System Command
- Remove Shutdown and Reboot Option from Linux GUI Login Screen ( GDM Setup )
- Howto stop or terminate Linux command process with CTRL + C
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: ctrlaltdel, ctrl_alt_del, linux_server, reboot



Recent Comments
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments
Yesterday ~ 1 Comment