[Gllug] Shutdown Stopped

Dean Wilson dean.wilson3 at virgin.net
Fri Oct 18 23:00:53 UTC 2002


After watching someone press ctrl-alt-delete on one of our Linux test
servers[0] in work i've decided to become a bit more proactive with my
alertness for larting chances. I've put an entry in /etc/inittab that calls
a small custom script that writes out a log entry to a file (and to syslog
via logger) when ever the three finger salute is kicked off.

A feature i'd like to add but i'm not too sure about how to do is to grab
the user name of the culprit. I tried getting it from $HOME but this gets
changed to '/' when the command is executed due to it changing uid to root
(I assume). Anyone have any suggestions on how to do this?

  Dean
[0] This is disabled in production but i want to be told if someone is
stupid enough to do it...
--
Profanity is the one language all programmers understand
--- Anon


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list