From owner-freebsd-questions Thu Nov 18 7:19:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sfemail.bankofamerica.com (sfemail.bankofamerica.com [171.159.64.14]) by hub.freebsd.org (Postfix) with ESMTP id DAECB153FE for ; Thu, 18 Nov 1999 07:19:18 -0800 (PST) (envelope-from mike.sellenschuetter@bankofamerica.com) Received: from sfimail.bankofamerica.com (sfimail.bankofamerica.com [171.182.72.13]) by sfemail.bankofamerica.com (8.9.1/8.9.1) with ESMTP id HAA20029 for ; Thu, 18 Nov 1999 07:19:11 -0800 (PST) Received: from smtpsw03 (smtpsw03.bankofamerica.com [165.48.14.143]) by sfimail.bankofamerica.com (8.9.1/8.9.1) with ESMTP id HAA26452 for ; Thu, 18 Nov 1999 07:19:17 -0800 (PST) Date: Thu, 18 Nov 1999 10:18:42 -0500 From: "mike.sellenschuetter" Subject: Sudo Logging To: freebsd-questions Message-id: <0056440001107380000002L402*@MHS> MIME-version: 1.0 Content-type: text/plain Content-disposition: inline Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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