Unix Technical Forum

Disable Ctrl-Alt-Del?

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:03 AM
cyber0ne
 
Posts: n/a
Default Disable Ctrl-Alt-Del?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:03 AM
quip
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:03 AM
cyber0ne
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:03 AM
Grant Coady
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:03 AM
Joe
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

cyber0ne wrote:

> Of course, is there a way to enact the change without rebooting?


# telinit q

Joe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:03 AM
Lew Pitcher
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:07 AM
joseph philip
 
Posts: n/a
Default Re: Disable Ctrl-Alt-Del?

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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com