Summary: Logging Problem: sudo

From: <Lee_Brewer_at_discovery.com>
Date: Fri, 28 Sep 2001 14:31:47 -0400

Admins,

I got one response, and it was on the money


from Todd Miller:

Two things:
    1) In the syslog.conf entry you included the "local2.*"
       is separated from "/var/adm/sudo.log" by spaces but it
       needs to be tabs only.

    2) I'd suggest using "local2.debug" not "local2.*"

So, the line should be:

local2.debug /var/adm/sudo.log

It is very important to use tabs and not spaces in syslog.conf.

 - todd

I did have tabs between the statements but I was trying to get fancy with the
configuration. Using

local2.debug /var/adm/sudo.log

works. Thanks again,

Lee Brewer
Received on Fri Sep 28 2001 - 18:28:42 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT