Mohammedz.com

For Linux and Shell scripting.

How to Avoid Accidental CTRL+ALT+DEL Reboots on Linux servers

Leave a comment


On Linux servers, you can avoid accidental CTRL-ALT-DEL reboot of the machine by doing the following to remove the necessary lines from the /etc/inittab file:

# sed -i ‘s/ca::ctrlaltdel:/#ca::ctrlaltdel:/g’ /etc/inittab

You can also do this manually by commenting the line starting with ca::ctrlaltdel:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s