Hi Michael,
I'm by no means a Linux guru; however, I think you'll find
that the following solution will work for you:
go into your /etc/inittab file (this is the file that
defines runlevels) - and find the line that looks like:
ca:ctrlaltdelete:/sbin/shutdown -r now
this line essentially "traps" that keystroke and executes
/sbin/shutdown as a result. Commenting out the line with a # sign would
probably work, but I'm not sure if that line has to be in there for system init
purposes. If that's the case, maybe putting like /sbin/logout in
shutdown's place would work for you; this would in effect log the user out, much
like NT. A LOT better than bringing down the whole server with one fell
swoop!
Hope this works for you - I've only been working with
Linux about a month now.
Paul
----- Original Message -----From: Michael R. BatchelorSent: Monday, March 22, 1999 12:28 PMSubject: [newbie] Ctrl-Alt-Del disableNot exactly a Mandrake specific question, but there's lots of good advice here.
We've just moved one of our servers from WinNT to Mandrake 5.3 this
weekend. No problems with desktop's etc., since the machine is basically
just a big file and print server. However, what we've discovered is that
*EVERYBODY* is used to walking up to the server bank and punching the
Ctrl-Alt-Del combination to get a prompt on the screen. That's fine for the
servers which are still NT boxes, but this Linux box proceeds to reboot,
causing problems for everyone.
I looked over the man pages for reboot and ctrlaltdel, but didn't see an
obvious way to disable the default behavior. It seems the only choices are
a hard reboot or a soft reboot, but no choice to disable rebooting? What am
I missing?
Michael
--
Michael R. Batchelor
Industrial Informatics & Instrumentation, Inc.
