Disabling or Limiting Access to Ctrl-Alt-Delete
We all know that Ctrl-Alt-Delete reboots the machine. But is this what you want? From a security standpoint, a machine is vulnerable when booting; and anyone with access to the keyboard can force a reboot. Therefore, you want to disable Ctrl-Alt-Delete for rebooting the machine, or you want to limit it to some users.
To disable it completely, comment out this line in /etc/inittab:
# ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
To enable it for a specific set of users, add the -a switch:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Then add your list of allowed users to /etc/shutdown.allow.
We all know that Ctrl-Alt-Delete reboots the machine. But is this what you want? From a security standpoint, a machine is vulnerable when booting; and anyone with access to the keyboard can force a reboot. Therefore, you want to disable Ctrl-Alt-Delete for rebooting the machine, or you want to limit it to some users.
To disable it completely, comment out this line in /etc/inittab:
# ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
To enable it for a specific set of users, add the -a switch:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
Then add your list of allowed users to /etc/shutdown.allow.
0 Comments