From: Todd C. Miller Date: Tue, 8 Jun 2004 19:58:08 +0000 (+0000) Subject: regen X-Git-Tag: SUDO_1_6_8~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88828092cbe046e3b570453936bfc09e85d7daca;p=sudo regen --- diff --git a/visudo.cat b/visudo.cat index b9c82e149..a5aee2bf6 100644 --- a/visudo.cat +++ b/visudo.cat @@ -61,7 +61,7 @@ OOPPTTIIOONNSS -1.6.8 May 17, 2004 1 +1.6.8 June 8, 2004 1 @@ -71,8 +71,8 @@ VISUDO(1m) MAINTENANCE COMMANDS VISUDO(1m) file of your choice, instead of the default, - @sysconfdir@/sudoers. The lock file used is the spec­ - ified _s_u_d_o_e_r_s file with ".tmp" appended to it. + _/_e_t_c_/_s_u_d_o_e_r_s. The lock file used is the specified + _s_u_d_o_e_r_s file with ".tmp" appended to it. -q Enable qquuiieett mode. In this mode details about syntax errors are not printed. This option is only useful @@ -107,34 +107,47 @@ EERRRROORRSS plain). In --ss (strict) mode these are errors, not warnings. + Warning: runas_default set after old value is in use ... + You have a _r_u_n_a_s___d_e_f_a_u_l_t Defaults setting listed in + the _s_u_d_o_e_r_s file after its value has already been + used. This means that entries prior to the + _r_u_n_a_s___d_e_f_a_u_l_t setting will match based on the default + value of _r_u_n_a_s___d_e_f_a_u_l_t (root) whereas entries aafftteerr + the _r_u_n_a_s___d_e_f_a_u_l_t setting will match based on the new + value. This is usually unintentional and in most + cases the setting should be placed + before any Runas_Alias or User specifications. In --ss + (strict) mode this is an error, not a warning. + EENNVVIIRROONNMMEENNTT The following environment variables are used only if vviissuuddoo was configured with the _-_-_w_i_t_h_-_e_n_v_-_e_d_i_t_o_r option: - VISUAL Invoked by visudo as the editor to use - EDITOR Used by visudo if VISUAL is not set -FFIILLEESS - /etc/sudoers List of who can run what - /etc/sudoers.tmp Lock file for visudo -AAUUTTHHOORR - Many people have worked on _s_u_d_o over the years; this ver­ - sion of vviissuuddoo was written by: - Todd Miller +1.6.8 June 8, 2004 2 -1.6.8 May 17, 2004 2 +VISUDO(1m) MAINTENANCE COMMANDS VISUDO(1m) + VISUAL Invoked by visudo as the editor to use + EDITOR Used by visudo if VISUAL is not set -VISUDO(1m) MAINTENANCE COMMANDS VISUDO(1m) +FFIILLEESS + /etc/sudoers List of who can run what + /etc/sudoers.tmp Lock file for visudo +AAUUTTHHOORR + Many people have worked on _s_u_d_o over the years; this ver­ + sion of vviissuuddoo was written by: + + Todd Miller See the HISTORY file in the sudo distribution or visit http://www.sudo.ws/sudo/history.html for more details. @@ -180,19 +193,6 @@ SSEEEE AALLSSOO - - - - - - - - - - - - - -1.6.8 May 17, 2004 3 +1.6.8 June 8, 2004 3 diff --git a/visudo.man.in b/visudo.man.in index e3eab6c32..907f97e36 100644 --- a/visudo.man.in +++ b/visudo.man.in @@ -149,7 +149,7 @@ .\" ======================================================================== .\" .IX Title "VISUDO @mansectsu@" -.TH VISUDO @mansectsu@ "May 17, 2004" "1.6.8" "MAINTENANCE COMMANDS" +.TH VISUDO @mansectsu@ "June 8, 2004" "1.6.8" "MAINTENANCE COMMANDS" .SH "NAME" visudo \- edit the sudoers file .SH "SYNOPSIS" @@ -203,7 +203,7 @@ exit with a value of 0. If a syntax error is encountered, .IX Item "-f" Specify and alternate \fIsudoers\fR file location. With this option \&\fBvisudo\fR will edit (or check) the \fIsudoers\fR file of your choice, -instead of the default, \f(CW@sysconfdir\fR@/sudoers. The lock file used +instead of the default, \fI@sysconfdir@/sudoers\fR. The lock file used is the specified \fIsudoers\fR file with \*(L".tmp\*(R" appended to it. .IP "\-q" 4 .IX Item "-q" @@ -240,6 +240,17 @@ consists solely of uppercase letters, digits, and the underscore ('_') character. If the latter, you can ignore the warnings (\fBsudo\fR will not complain). In \fB\-s\fR (strict) mode these are errors, not warnings. +.IP "Warning: runas_default set after old value is in use ..." 4 +.IX Item "Warning: runas_default set after old value is in use ..." +You have a \fIrunas_default\fR Defaults setting listed in the \fIsudoers\fR +file after its value has already been used. This means that entries +prior to the \fIrunas_default\fR setting will match based on the default +value of \fIrunas_default\fR (\f(CW\*(C`@runas_default@\*(C'\fR) whereas entries +\&\fBafter\fR the \fIrunas_default\fR setting will match based on the new +value. This is usually unintentional and in most cases the + setting should be placed before any \f(CW\*(C`Runas_Alias\*(C'\fR +or User specifications. In \fB\-s\fR (strict) mode this is an error, +not a warning. .SH "ENVIRONMENT" .IX Header "ENVIRONMENT" The following environment variables are used only if \fBvisudo\fR