LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to disable CTRL/ALT/DEL (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-disable-ctrl-alt-del-493468/)

nevxille 10-18-2006 06:25 AM

how to disable CTRL/ALT/DEL
 
trying to disable the cTRL/ALT/Del which reboots the machine, i've tried to comment out
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
in /etc/inittab
doesn't seem to work ,anyone know's why?

nevxille 10-18-2006 06:39 AM

it seems you have to get rid of the line or place somthing in
ca::ctrlaltdel:/bin/echo "CTRL-ALT-DEL Disable"

acid_kewpie 10-18-2006 06:43 AM

that should work, after a reboot, but you might want to go a little further and run a command instead of shutdown, e.g. run "logger" to say someone hit that key combination:

ca::ctrlaltdel:/usr/bin/logger ctrlaltdelete attempted


All times are GMT -5. The time now is 08:48 PM.