]> granicus.if.org Git - sudo/commitdiff
no more error for redefining SUDOERS_OWNER
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 17 Nov 1995 02:05:59 +0000 (02:05 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 17 Nov 1995 02:05:59 +0000 (02:05 +0000)
options.h

index d71aaf7a1fe9e4088ac48f8b8c2ec95d26d3dcd0..4748eebc14eb5923a39205cc363f43c2f68e2533 100644 (file)
--- a/options.h
+++ b/options.h
@@ -35,7 +35,6 @@
 #define LOGGING SLOG_SYSLOG    /* log via SLOG_SYSLOG, SLOG_FILE, SLOG_BOTH */
 #define LOGFAC LOG_LOCAL2      /* syslog facility for sudo to use */
 #define MAXLOGFILELEN 80       /* max chars per log line (for line wrapping) */
-#define SUDOERS_OWNER "root"   /* sudoers file owner (usually root) */
 /*#define NO_ROOT_SUDO         /* root is not allowed to use sudo */
 #define ALERTMAIL "root"       /* user that gets sudo mail */
 #define SEND_MAIL_WHEN_NO_USER /* send mail when user not in sudoers file */
@@ -62,6 +61,9 @@
 /*#define SHELL_IF_NO_ARGS     /* if sudo is given no arguments run a shell */
 /*#define USE_TTY_TICKETS      /* have a different ticket file for each tty */
 #define FAST_MATCH             /* command check fails if basenames not same */
+#ifndef SUDOERS_OWNER
+#define SUDOERS_OWNER "root"   /* sudoers file owner (usually root) */
+#endif /* SUDOERS_OWNER */
 
 /**********  You probably don't want to modify anything below here  ***********/