X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=visudo.cat;h=c99374f8f302d4148c6ed804cc8064d9ddb23c4c;hb=bf31775618b964a8228b10f8cf004541cb7b0ce7;hp=db6aa532accdb816bbe4845e4d54ef5489191b65;hpb=abffa756f90bac83386a0677f18518136710b22a;p=debian%2Fsudo diff --git a/visudo.cat b/visudo.cat index db6aa53..c99374f 100644 --- a/visudo.cat +++ b/visudo.cat @@ -17,17 +17,16 @@ DDEESSCCRRIIPPTTIIOONN _s_u_d_o_e_r_s file is currently being edited you will receive a message to try again later. - There is a hard-coded list of editors that vviissuuddoo will use set at - compile-time that may be overridden via the _e_d_i_t_o_r _s_u_d_o_e_r_s Default - variable. This list defaults to the path to _v_i(1) on your system, as - determined by the _c_o_n_f_i_g_u_r_e script. Normally, vviissuuddoo does not honor - the VISUAL or EDITOR environment variables unless they contain an - editor in the aforementioned editors list. However, if vviissuuddoo is - configured with the _-_-_w_i_t_h_-_e_n_v_e_d_i_t_o_r option or the _e_n_v___e_d_i_t_o_r Default - variable is set in _s_u_d_o_e_r_s, vviissuuddoo will use any the editor defines by - VISUAL or EDITOR. Note that this can be a security hole since it - allows the user to execute any program they wish simply by setting - VISUAL or EDITOR. + There is a hard-coded list of one or more editors that vviissuuddoo will use + set at compile-time that may be overridden via the _e_d_i_t_o_r _s_u_d_o_e_r_s + Default variable. This list defaults to "vi". Normally, vviissuuddoo does + not honor the VISUAL or EDITOR environment variables unless they + contain an editor in the aforementioned editors list. However, if + vviissuuddoo is configured with the _-_-_w_i_t_h_-_e_n_v_-_e_d_i_t_o_r option or the + _e_n_v___e_d_i_t_o_r Default variable is set in _s_u_d_o_e_r_s, vviissuuddoo will use any the + editor defines by VISUAL or EDITOR. Note that this can be a security + hole since it allows the user to execute any program they wish simply + by setting VISUAL or EDITOR. vviissuuddoo parses the _s_u_d_o_e_r_s file after the edit and will not save the changes if there is a syntax error. Upon finding an error, vviissuuddoo will @@ -58,10 +57,11 @@ OOPPTTIIOONNSS appended to it. -q Enable qquuiieett mode. In this mode details about syntax + errors are not printed. This option is only useful when -1.7.2p1 June 11, 2009 1 +1.7.4 July 14, 2010 1 @@ -70,13 +70,12 @@ OOPPTTIIOONNSS VISUDO(1m) MAINTENANCE COMMANDS VISUDO(1m) - errors are not printed. This option is only useful when combined with the --cc option. -s Enable ssttrriicctt checking of the _s_u_d_o_e_r_s file. If an alias is used before it is defined, vviissuuddoo will consider this a parse error. Note that it is not possible to differentiate - between an alias and a hostname or username that consists + between an alias and a host name or user name that consists solely of uppercase letters, digits, and the underscore ('_') character. @@ -108,7 +107,7 @@ DDIIAAGGNNOOSSTTIICCSS Warning: {User,Runas,Host,Cmnd}_Alias referenced but not defined Either you are trying to use an undeclare - {User,Runas,Host,Cmnd}_Alias or you have a user or hostname listed + {User,Runas,Host,Cmnd}_Alias or you have a user or host name listed that consists solely of uppercase letters, digits, and the underscore ('_') character. In the latter case, you can ignore the warnings (ssuuddoo will not complain). In --ss (strict) mode these are @@ -124,10 +123,11 @@ SSEEEE AALLSSOO AAUUTTHHOORR Many people have worked on _s_u_d_o over the years; this version of vviissuuddoo + was written by: -1.7.2p1 June 11, 2009 2 +1.7.4 July 14, 2010 2 @@ -136,8 +136,6 @@ AAUUTTHHOORR VISUDO(1m) MAINTENANCE COMMANDS VISUDO(1m) - was written by: - Todd Miller See the HISTORY file in the sudo distribution or visit @@ -193,6 +191,8 @@ DDIISSCCLLAAIIMMEERR -1.7.2p1 June 11, 2009 3 + + +1.7.4 July 14, 2010 3