Redirecting the Sudo log on HP Servers
Brent Fortman
Brent.Fortman at radioshack.com
Wed Oct 24 16:13:34 EDT 2001
I never had any luck with the default sudo settings of local2, notice, and
LOG_ALERT - who knows, maybe it's an HPism. I compiled a binary with the
following syslog options:
--with-logging=syslog
--with-logfac=local3
--with-goodpri=info
--with-badpri=alert
The corresponding /etc/syslog.conf is:
local3.alert @<remote_hostname>
local3.info @<remote_hostname>
*.info;local3,mail.none /var/adm/syslog/syslog.log
With this alone, your messages will end up in the syslog on
"remote_hostname". If you want to have the sudo messages logged to a
separate log file on the remote_host, then you will need to modify the
syslog.conf on that system as well. Might look something like this:
local3.info /var/adm/sudo.log
local3.alert /var/adm/sudo.log
Hope that helps.
Brent
-----Original Message-----
From: Patrick Dwyer [mailto:padwyer at hotmail.com]
Sent: Wednesday, October 24, 2001 7:49 AM
To: sudo-users at courtesan.com
Subject: Redirecting the Sudo log on HP Servers
Hi Everyone,
I was wondering if anyone knew the command to redirect the sudo log on HP
servers to another log host? The log host is a DEC box.
Thank you,
Patrick
<http://graphics.hotmail.com/emsmilep.gif>
_____
Get your FREE download of MSN Explorer at http://explorer.msn.com
<http://go.msn.com/bql/hmtag_itl_EN.asp>
____________________________________________________________ sudo-users
mailing list For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/sudo-users/attachments/20011024/95e1d13b/attachment.html>
More information about the sudo-users
mailing list