]> granicus.if.org Git - sudo/commitdiff
updated MAILSUBJECT
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 14 Nov 1996 03:50:03 +0000 (03:50 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 14 Nov 1996 03:50:03 +0000 (03:50 +0000)
OPTIONS
options.h

diff --git a/OPTIONS b/OPTIONS
index 1d804ca395a39ef0a4d5a190f45cb76f04ac6cca..26fe416484d6c5165babf3a5c6f9ca37e498bce4 100644 (file)
--- a/OPTIONS
+++ b/OPTIONS
@@ -142,8 +142,9 @@ INCORRECT_PASSWORD
     The default is "Sorry, try again."
 
 MAILSUBJECT
-    Subject of the mail sent to the ALERTMAIL user.
-    Default is "*** SECURITY information ***".
+    Subject of the mail sent to the ALERTMAIL user.  The token "%h"
+    will expand to the hostname of the machine.
+    Default is "*** SECURITY information for %h ***".
 
 PASSPROMPT
     Default prompt to use when asking for a password.  Can be overridden
@@ -220,9 +221,8 @@ LONG_OTP_PROMPT
 
 SUDOERS_MODE
     File mode for the sudoers file (octal).  Note that if you
-    set this to be more restictive than 0440 you *MUST* set
-    SUDOERS_UID to be something other than 0.  Also Note that
-    this is usually set in the Makefile.
+    wish to NFS-mount the sudoers file this must be group
+    readable.  Also Note that this is usually set in the Makefile.
     The default mode is 0440.
 
 SUDOERS_UID
index 00b6ab1972d0fc98d09b274543328c9c85651c41..9afa2bfb6965ec8f53b604072d17bca35808c469 100644 (file)
--- a/options.h
+++ b/options.h
@@ -55,7 +55,7 @@
 #define MAILER _PATH_SENDMAIL  /* what mailer to use */
 #define UMASK 0022             /* umask that the root-run prog should use */
 #define INCORRECT_PASSWORD "Sorry, try again." /* message for bad passwd */
-#define MAILSUBJECT "*** SECURITY information ***" /* subject of mail sent */
+#define MAILSUBJECT "*** SECURITY information for %h ***" /* mail subject */
 #define PASSPROMPT "Password:" /* default password prompt */
 /*#define IGNORE_DOT_PATH      /* ignore '.' in $PATH if it exists */
 /*#define SECURE_PATH  "/bin:/usr/ucb:/usr/bin:/usr/etc:/etc" /* secure path */