This is a discussion on Disable Ctrl-Alt-Del? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Using Slackware 10.0, Is there a way to set the system to _not_ reboot when Ctrl-Alt-Del is pressed at ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Using Slackware 10.0, Is there a way to set the system to _not_ reboot when Ctrl-Alt-Del is pressed at a login prompt? Ideally I'd like that key sequence to do nothing at all on this machine. Regards, David P. Donahue ddonahue@ccs.neu.edu |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 cyber0ne wrote: | Using Slackware 10.0, Is there a way to set the system to _not_ reboot | when Ctrl-Alt-Del is pressed at a login prompt? Ideally I'd like that | key sequence to do nothing at all on this machine. | | | Regards, | David P. Donahue | ddonahue@ccs.neu.edu | I believe you can just edit /etc/inittab. It has a line asking what you would like to happen when that key combination is pressed. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFCoRMf/u+3PIk1ZXQRAkt/AKCuJYjG6oDuAhgtMqdgjgRLirRJ6ACeKvgZ kSONAjST/Jj878iEFVE9d24= =207t -----END PGP SIGNATURE----- |
| |||
| Perfect, thanks Of course, is there a way to enact the change without rebooting? No biggie, it would just be cool to know if there is. Regards, David P. Donahue ddonahue@ccs.neu.edu |
| |||
| On 3 Jun 2005 19:29:44 -0700, "cyber0ne" <cyber0ne1@gmail.com> wrote: > Using Slackware 10.0, Is there a way to set the system to _not_ reboot > when Ctrl-Alt-Del is pressed at a login prompt? Ideally I'd like that > key sequence to do nothing at all on this machine. Rationale? At least Ctrl-Alt_Del properly shuts down machine, disable that and people will hit RESET button, disable that and people will power cycle. Put machine behind glass, people throws rocks at it Physical access to machine makes it vulnerable. And yes, you can disable Ctrl-Alt-Del somewhere in startup scripts, just comment out the action line. --Grant. |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 cyber0ne wrote: > Perfect, thanks > > Of course, is there a way to enact the change without rebooting? No > biggie, it would just be cool to know if there is. As root sed -i 's/^ca::/#ca::/g' /etc/inittab - -- Lew Pitcher Master Codewright & JOAT-in-training | GPG public key available on request Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCoSFKagVFX4UWr64RAkfiAJ92zUgGBCHzgwSyquUQMj ejRFWCngCeOoe4 mNIhGNRRLR/NuROPQjdpukw= =dvD/ -----END PGP SIGNATURE----- |
| ||||
| On Fri, 03 Jun 2005 19:37:21 -0700, cyber0ne wrote: > Perfect, thanks > > Of course, is there a way to enact the change without rebooting? No > biggie, it would just be cool to know if there is. > > > Regards, > David P. Donahue > ddonahue@ccs.neu.edu edit /etc/inittab , this line: ca::ctrlaltdel:/sbin/shutdown -t5 -r now Then "kill -HUP 1" makes init re-read the inittab file, after which it takes appropriate action. |