summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/defaults.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-03-27 03:44:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-03-27 03:44:40 +0000
commit2973d269b6b765ebf9da010880d8df7b232c2bfe (patch)
treed906084a81de8e1143795dd439107c5fd984a071 /usr.bin/sudo/defaults.h
parent4108b06f79f213a1c3c81108f94c7ec4ee919043 (diff)
sudo 1.6.3; see http://www.courtesan.com/sudo/current.html for a list
of changes.
Diffstat (limited to 'usr.bin/sudo/defaults.h')
-rw-r--r--usr.bin/sudo/defaults.h49
1 files changed, 28 insertions, 21 deletions
diff --git a/usr.bin/sudo/defaults.h b/usr.bin/sudo/defaults.h
index ca159604f11..3a27ec07c51 100644
--- a/usr.bin/sudo/defaults.h
+++ b/usr.bin/sudo/defaults.h
@@ -31,7 +31,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Sudo: defaults.h,v 1.12 2000/01/17 23:46:25 millert Exp $
+ * $Sudo: defaults.h,v 1.16 2000/03/22 23:40:09 millert Exp $
*/
#ifndef _SUDO_DEFAULTS_H
@@ -111,34 +111,41 @@ struct sudo_defs_types {
#define I_FQDN 21
#define I_INSULTS 22
#define I_REQUIRETTY 23
+#define I_ENV_EDITOR 24
+#define I_ROOTPW 25
+#define I_RUNASPW 26
+#define I_TARGETPW 27
+#define I_LOGINCLASS 28
+#define I_LOGNAME 29
/* Integer values */
-#define I_LOGLEN 24 /* wrap log file line after N chars */
-#define I_TS_TIMEOUT 25 /* timestamp stale after N minutes */
-#define I_PW_TIMEOUT 26 /* exit if pass not entered in N minutes */
-#define I_PW_TRIES 27 /* exit after N bad password tries */
-#define I_UMASK 28 /* umask to use or 0777 to use user's */
+#define I_LOGLEN 30 /* wrap log file line after N chars */
+#define I_TS_TIMEOUT 31 /* timestamp stale after N minutes */
+#define I_PW_TIMEOUT 32 /* exit if pass not entered in N minutes */
+#define I_PW_TRIES 33 /* exit after N bad password tries */
+#define I_UMASK 34 /* umask to use or 0777 to use user's */
/* Strings */
-#define I_LOGFILE 29 /* path to logfile (or NULL for none) */
-#define I_MAILERPATH 30 /* path to sendmail or other mailer */
-#define I_MAILERFLAGS 31 /* flags to pass to the mailer */
-#define I_MAILTO 32 /* who to send bitch mail to */
-#define I_MAILSUB 33 /* subject line of mail msg */
-#define I_BADPASS_MSG 34 /* what to say when passwd is wrong */
-#define I_TIMESTAMPDIR 35 /* path to timestamp dir */
-#define I_EXEMPT_GRP 36 /* no password or PATH override for these */
-#define I_PASSPROMPT 37 /* password prompt */
-#define I_RUNAS_DEF 38 /* default user to run commands as */
-#define I_SECURE_PATH 39 /* set $PATH to this if not NULL */
+#define I_LOGFILE 35 /* path to logfile (or NULL for none) */
+#define I_MAILERPATH 36 /* path to sendmail or other mailer */
+#define I_MAILERFLAGS 37 /* flags to pass to the mailer */
+#define I_MAILTO 38 /* who to send bitch mail to */
+#define I_MAILSUB 39 /* subject line of mail msg */
+#define I_BADPASS_MSG 40 /* what to say when passwd is wrong */
+#define I_TIMESTAMPDIR 41 /* path to timestamp dir */
+#define I_EXEMPT_GRP 42 /* no password or PATH override for these */
+#define I_PASSPROMPT 43 /* password prompt */
+#define I_RUNAS_DEF 44 /* default user to run commands as */
+#define I_SECURE_PATH 45 /* set $PATH to this if not NULL */
+#define I_EDITOR 46 /* path to editor used by visudo */
/* Integer versions of list/verify options */
-#define I_LISTPW 40
-#define I_VERIFYPW 41
+#define I_LISTPW 47
+#define I_VERIFYPW 48
/* String versions of list/verify options */
-#define I_LISTPWSTR 42
-#define I_VERIFYPWSTR 43
+#define I_LISTPWSTR 49
+#define I_VERIFYPWSTR 50
/*
* Macros for accessing sudo_defs_table.