Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Syslog.conf issue with SUDO

1 view
Skip to first unread message

jdavis

unread,
Nov 26, 2002, 1:02:40 PM11/26/02
to
Hi Folks,

I am having an issue with SUDO and have traced it down to my syslog.conf
file. It basically looks like this

#
*.debug /var/adm/syslog

<snip>

Now, to have my sudo files go to a different log I need to send all of my
local2.debugs to the sudo.log file. I inherited this project so when I
looked in the syslog.conf for the development machine it looked like this
#
*.debug /var/adm/syslog
local2.debug /var/adm/sudo.log

<snip>

If I understand correctly, this is not going to work and in fact doesn't.
What I need to know is either what are all of the *.debug entries for
syslog.conf, so I can go through one by one and list them and the have
local2.debug go to /var/adm/sudo.log or does anyone have a solution that
I am missing. Thanks in advance and please just post to the board.

Thanks,
James

jdavis

unread,
Nov 26, 2002, 1:54:53 PM11/26/02
to
Hmm..ok..here's another update...
I tried this:
#
*.debug,local2.none /var/adm/syslog
local2.debug /var/adm/sudo.log

This still does not work...and yes I am making the syslog daemon re-read
the syslog.conf file by kill -HUP

Tom Parsons

unread,
Nov 26, 2002, 4:33:46 PM11/26/02
to sco...@xenitec.on.ca
jdavis enscribed:

You forgot the very first step when asking for help. >>Always<< include
the product and release number. It can be quite important. If 5.0.6,
you can use spaces in the syslog.conf entries, if 5.0.5 (and possibly
earlier, the separator must be TABs
--
==========================================================================
Tom Parsons t...@tegan.com
==========================================================================

jdavis

unread,
Nov 26, 2002, 5:06:19 PM11/26/02
to

Ok...I am retarded, LOL!!! Sorry...I am running SCO OpenServer 5.0.4. I
am seperating my entries in syslog.conf via <tab>.

-James

Jean-Pierre Radley

unread,
Nov 26, 2002, 5:32:08 PM11/26/02
to ScoMisc [c.u.s.m]

When did that change, Tom, since the man pages on both 5.0.6 and 5.0.5
mention that a tab separator before the action is required?

--
JP

Tom Parsons

unread,
Nov 26, 2002, 8:40:57 PM11/26/02
to sco...@xenitec.on.ca
Jean-Pierre Radley enscribed:

5.0.6 happily accepts spaces

Fabio Giannotti

unread,
Nov 26, 2002, 10:50:54 PM11/26/02
to Scomsc (E-mail)

> -----Original Message-----
> From: listm...@xenitec.on.ca [mailto:listm...@xenitec.on.ca]On
> Behalf Of Tom Parsons
> Sent: Tuesday, November 26, 2002 7:41 PM
> To: distri...@xenitec.on.ca; sco...@xenitec.on.ca
> Subject: Re: Syslog.conf issue with SUDO
>
>
> Jean-Pierre Radley enscribed:
> | On Tue, 26 Nov 2002 13:33:46 -0800, Tom Parsons wrote:
> | > You forgot the very first step when asking for help.
> >>Always<< include
> | > the product and release number. It can be quite
> important. If 5.0.6,
> | > you can use spaces in the syslog.conf entries, if 5.0.5
> (and possibly
> | > earlier, the separator must be TABs
> |
> | When did that change, Tom, since the man pages on both
> 5.0.6 and 5.0.5
> | mention that a tab separator before the action is required?
>
> 5.0.6 happily accepts spaces

How can you be sure it's not grudgingly accepting spaces?

Fabio

Bela Lubkin

unread,
Nov 27, 2002, 5:03:54 AM11/27/02
to sco...@xenitec.on.ca
Fabio Giannotti wrote:

I can assure you, the source check-in which changed this has no
grumbling, and was done by someone who did not hesitate to grumble if he
didn't like the direction of the wind. ;-}

>Bela<

0 new messages