Date: Thu, 08 Jul 2010 14:29:59 +0400 From: ait <ait@rocc.ru> To: Gilles <gilles.ganault@free.fr> Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Get e-mail when CTRL-ALT-DEL is used? Message-ID: <4C35A8A7.1020103@rocc.ru> In-Reply-To: <rs8b36521ebsv6n8rfq9797gjbn1pdg2lm@4ax.com> References: <rs8b36521ebsv6n8rfq9797gjbn1pdg2lm@4ax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C35A8A7.1020103>