If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Tom Parsons <cis@tegan.com>
Subject: Re: Syslog.conf issue with SUDO
Date: Tue, 26 Nov 2002 21:33:46 GMT
References: <pan.2002.11.26.18.02.40.115571.10572@nospam.starcalif.com> <pan.2002.11.26.18.54.52.900987.10572@nospam.diggity.com>
jdavis enscribed:
| 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
|
|
| On Tue, 26 Nov 2002 10:02:40 -0800, jdavis wrote:
|
| > 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.
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 tom@tegan.com
==========================================================================
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.
I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
/Bofcusm/1803.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar