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

Re: why user can CTRL+ALT+DEL to shutdown on my machine?



The easy way out is to use a Login GUI (kdm). A keyboard reboot request will
just recycle (refresh) the Login prompt.

Adam Alexander wrote:

> >vi /etc/inittab and change the following line
> >
> >ca::ctraltdel:/sbin/shutdown -t3 -r now
> > to
> >#ca::ctraltdel:/sbin/shutdown -t3 -r now
> >
> >then :!qw to write and exit
>
> Won't this result in linux NOT trapping the ctrl-alt-del key sequence,
> allowing it to get to the BIOS of the machine and causing an immediate reset
> without shutting down cleanly?  Hardly the result I would want on my
> machine.  Why not change the line to say:
>
> ca::ctraltdel:/bin/true
>
> Or point it to any other program that really doesn't do anything.  This way,
> when someone presses ctrl-alt-del linux WILL trap the sequence and it will
> run a harmless program instead of rebooting.  This is only theoretical -- I
> don't have a machine in front of me to test this on at the moment.
>
> Adam Alexander
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                 http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request redhat com with
>                        "unsubscribe" as the Subject.



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