From: Jay Pfaffman (pfaffman@relax.des.edu)
Date: 06/14/93


From: pfaffman@relax.des.edu (Jay Pfaffman)
Subject: Re: How to disable C-A-D for non-root users?
Date: 14 Jun 1993 14:29:02 GMT

joel@rac2.wam.umd.edu (Joel M. Hoffman) writes:

>What I'd like is for only C-A-D >NOT< to do anything at all unless it
>comes from a root process. As I say, I don't know how to do this, and
>I'm not sure what would happen if the user were running a suid root
>process while s/he pressed C-A-D.

I have a line in /etc/inittab that says:

       ca::ctrlaltdel:/etc/shutdown -t3 -rf now

I suspect you can put any program you like there instead of
/etc/shutdown. As someone has pointed out, you're adding no security
unless you have the machine (& not the keyboard) out of reach of the
user(s). Just disable ctrlaltdel & type "reboot" yourself. ..

-- 
Jay Pfaffman             pfaffman@relax.des.edu
Hoboken, NJ 07030        pfaffman@pilot.njin.net -- 
201-217-4241             (work) 201-569-9500