[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to deny CTRL-ALT-DEL



In article <[🔎] 200307161009.19687.liste_joerg@gmx.de>,
Joerg Johannes  <liste_joerg@gmx.de> wrote:
>On Wednesday 16 July 2003 09:44, Philippe Dhont (Sea-ro) wrote:
>> Hi, small question.
>> How can i deny a CTRL-ALT-DEL when i am on the login screen ?
>> This question because I have a server and some technician who had to
>> work on another system had chosen the wrong keyboard !!
>> So, the debian was on it's login screen ant it rebooted and I don't
>> want this to happen again in the future.
>
>In the file /etc/inittab, you will find this around line 32:
># What to do when CTRL-ALT-DEL is pressed.
>ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>
>Comment out the second line and nothing will happen when CTRL-ALT-DEL is 
>pressed.

Alternatively edit /etc/shutdown.allow. Through this file you
can configure who is allowed to use ctrl-alt-del and who isn't.
If none of the users in /etc/shutdown.allow are logged in to
a console, then shutdown will refuse to act.

See "man shutdown".

Mike.



Reply to: