[6.3] Get e-mail when CTRL-ALT-DEL is used?

ait ait at rocc.ru
Thu Jul 8 10:52:54 UTC 2010


On 07/08/2010 14:12, Gilles wrote:
> Hello
>
> This is on a remote 6.3 host: I'd like to get an e-mail if a user hits
> the CTRL-ALT-DEL to reboot the server.
>
> Googling told me that the use of the three-key combo can be
> enabled/disabled when compiling a new kernel, but not how to manage
> this feature when it's enabled in a running kernel.
>
> Is there a configuration file somewhere that would let me add e-mail
> support for this action?
>
> Thank you.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

Maybe you can use the /etc/rc.shutdown script, there's a line at the end 
of it:

...

# Insert other shutdown procedures here

...


Best wishes,

Dmitry.




More information about the freebsd-questions mailing list