In <001e01c743d6$a5c32340$user-05df8fc2c591@xymon.invalid> "Richard Leon" <user-a4b45fb5dd94@xymon.invalid> writes:
Am I missing something?
The rootlogin.pl is not working .
Can you run it by hand ? Do this
BB=/bin/echo BBDISP=0.0.0.0 ~hobbit/server/ext/rootlogin.pl
and feed it this input:
---- cut here ----
@@client#12345/localhost|1169985951.340108|10.0.0.152|localhost|sunos|sunos
[who]
hstoerne pts/0 Jan 28 00:07 (from somewhere)
root ttyS0 Nov 1 11:13
@@
---- end of input ----
It should yield this output:
0.0.0.0 status localhost.login red ROOT login active
&red ROOT login detected!
hstoerne pts/0 Jan 28 00:07 (from somewhere)
root ttyS0 Nov 1 11:13
I suspect it's something silly like your perl being in /usr/local/bin
instead of /usr/bin (adjust the first line of the script if that is
the case).
Henrik