Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 10:18:42 -0500
From:      "mike.sellenschuetter" <mike.sellenschuetter@bankofamerica.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Sudo Logging
Message-ID:  <0056440001107380000002L402*@MHS>

next in thread | raw e-mail | index | archive | help
I am a learning system administrator for a FreeBSD based system at Bank of
America, and I am having a problem getting sudo to log to a file other than
/var/log/messages.  In the /etc/syslog.conf file, I made the following entry:

sudo.*    /var/log/sudo

I then hupped the syslogd daemon, but all sudo commands by users were still
going to /var/log/messages and not to /var/log/sudo.  I downloaded the source
code for sudo and looked through there, but C is not one of my strong language
skills.  Can anyone tell me what I need to do to redirect the sudo logging from
/var/log/massages to a separate file?  Any help would be greatly appreciated.

Thank you,
Mike Sellenschuetter
mike.sellenschuetter@nationsbank.com
(314) 466-7412


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0056440001107380000002L402*>