Sendmail does not work with Sudo

mackay at kodak.com mackay at kodak.com
Mon Feb 26 08:56:35 EST 2001


From: Scott D. MacKay

It sounds like you may be talking about 2 different items, sendmail and
syslog.
All messages logged in /var/log/syslog are done so by the syslog daemon
(syslogd).
sendmail has no part in this.
SUDO uses 'local2', something not usually logged by default.
If you want SUDO to log via syslog, you will need to add a line to the
/etc/syslog.conf file and HUP syslogd.
An example of the line would be:
local2.debug   /var/log/syslog
(a tab between the two items, of course).
You could follow the examples in your current syslog.conf to send to a
centralized loghost or auxillary file.  If you send to an auxillary file,
remember that syslog will not create the file.  Hope this helps!

-Scott






Santanu Misra <smisra at tibcofinance.com> on 02/23/2001 07:55:02 PM

Please respond to Santanu Misra <smisra at tibcofinance.com>

To:   sudo-users at courtesan.com
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  Sendmail does not work with Sudo





Hello All:

I installed a Sudo on a Solaris6 Box.
Every thing works otherthan sendmail part.
I did tried complie without-sendmail but no luck.
I do not see any change in /var/log/syslog
I think (?) I sould get some thing here as
I get info about all other sendmail activites.

Here is the details of sudo. Any help will be great.


Regards,

Santanu


omara# /local/sudo/bin/sudo -V
Sudo version 1.6.3p6

Authentication methods: 'passwd'
Syslog facility if syslog is being used for logging: local2
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Lecture user the first time they run sudo
Require users to authenticate by default
Allow some information gathering to give useful error messages
Insult the user when they enter an incorrect password
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 5 minutes
Password prompt timeout: 5 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Address to send mail to: smisra at tibcoofinance.com
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /tmp/.odus
Default password prompt: Password:
Default user to run commands as: root
Path to the editor for use by visudo: /usr/bin/vi
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
omara#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Santanu Misra                     santanu.misra at tibcofinance.com
Tibco Finance Technology Inc.     1-650-461-3000 (main)
3375 Hillview Avenue              1-650-461-3110 ( Direct)
Palo Alto , CA , 94304            http://www.tibcofinance.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

____________________________________________________________
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users










More information about the sudo-users mailing list