h1

Linux disable local ctrl+alt+delete

December 14, 2005

I have a linux box on a KVM – a few times I’ve switched over to it and done the ctrl+alt+del by accident (expecting an NT login) – and Unfortunately on fedora out of the box this shuts the machine down – not very good in office hours!

So I found this useful

In /etc/inittab

# Trap CTRL-ALT-DELETE
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
ca::ctrlaltdel:/bin/echo “ctrl+alt+del disabled”

No more accidental reboots….

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

%d bloggers like this: