Admin-Ahead Community

General Category => General Discussion => Topic started by: Vinil on January 13, 2014, 10:45:46 am

Title: Disable Ctrl+Alt+Delete in Inittab
Post by: Vinil on January 13, 2014, 10:45:46 am
In most Linux distributions, pressing 'CTRL-ALT-DELETE' will takes your system to reboot process. So, it’s not a good idea to have this option enabled at least on production servers, if someone by mistakenly does this.

We have to comment the following lines in /etc/inittab file.

Quote
# Trap CTRL-ALT-DELETE
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now