Changing the defaults

julian.rogan Julian.Rogan at Unilever.com
Fri Mar 10 08:53:09 EST 2000


Hi,
I am a new sudo user. I just downloaded version 1.6.2p2  onto an hpux 10.20
server.

I decided not to use logging via syslog as my syslog daemon keeps stuffing
itself. 
I modified the configure script line:

  --with-logging   to:
  --with-logging=file

and I changed the line:

  --with-logpath   to:

  --with-logpath=/var/adm/syslog

I ran configure and then ran the 'make'. However it is stil using syslog.
I checked config.h and noticed the: 

#define LOGGING SLOG_SYSLOG

I changed it to :

#define LOGGING SLOG_FILE

and re-issued the 'make' and it was now working.
I set the alternate log file in the sudoers file and it is now working as I
want.

So what went wrong initially? Is this a bug?

Also the man page on sudoers is not very clear on which defaults can be
overridden there.

The list of parameters does not include 'logfile' but one of the example lines
does.
Is there a complete list out there?

thanks

Julian
  



More information about the sudo-users mailing list