From: Todd C. Miller Date: Thu, 14 Nov 1996 03:50:03 +0000 (+0000) Subject: updated MAILSUBJECT X-Git-Tag: SUDO_1_5_3~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5b84ec225bb0b7fe19b7baa8b6f0ca6b58feabc;p=sudo updated MAILSUBJECT --- diff --git a/OPTIONS b/OPTIONS index 1d804ca39..26fe41648 100644 --- 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 diff --git a/options.h b/options.h index 00b6ab197..9afa2bfb6 100644 --- 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 */