GagA// 0n D nEt

It is currently Thu Jan 18, 2018 11:20 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Ubuntu: Disable Ctrl-Alt-Delete (control-alter-delete) keys
PostPosted: Wed Mar 25, 2009 10:34 am 
Offline

Joined: Wed Jul 18, 2007 1:14 am
Posts: 181
As a security measure on any linux machine you can disable the ctrl-alt-delete emergency keypress handling in order to prevent a reboot.

Having this feature enabled is a security loop hole as anyone can reboot the machine via console.

This operation is controlled by a file. This file is /etc/event.d/control-alt-delete. In order to disable this function you need to edit this file:
Quote:
[[email protected] ~]$ sudo vim /etc/event.d/control-alt-delete

and locate the following line:
Code:
exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

You need to delete the above line or comment it out. Once done, save and exit out of the file.

That should do the job.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group