From: Todd C. Miller Date: Wed, 22 Feb 2017 21:13:07 +0000 (-0700) Subject: Update the description of strict mode to current reality. Aliases X-Git-Tag: SUDO_1_8_20^2~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e52c7b8243c2e333c2571a78e4b34d4d554903;p=sudo Update the description of strict mode to current reality. Aliases haven't needed to be defined before they are used since sudo 1.7. --- diff --git a/doc/visudo.cat b/doc/visudo.cat index 6a4233c26..597f8efa2 100644 --- a/doc/visudo.cat +++ b/doc/visudo.cat @@ -63,11 +63,11 @@ DDEESSCCRRIIPPTTIIOONN --ss, ----ssttrriicctt Enable _s_t_r_i_c_t 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 host name or user name that consists solely of - uppercase letters, digits, and the underscore (`_') - character. + referenced but not actually defined or if there is a cycle in + an alias, vviissuuddoo will consider this a parse error. Note that + it is not possible to differentiate between an alias and a + host name or user name that consists solely of uppercase + letters, digits, and the underscore (`_') character. --VV, ----vveerrssiioonn Print the vviissuuddoo and _s_u_d_o_e_r_s grammar versions and exit. diff --git a/doc/visudo.man.in b/doc/visudo.man.in index 68b381898..49f6ac4dd 100644 --- a/doc/visudo.man.in +++ b/doc/visudo.man.in @@ -189,7 +189,8 @@ Enable checking of the \fIsudoers\fR file. -If an alias is used before it is defined, +If an alias is referenced but not actually defined +or if there is a cycle in an alias, \fBvisudo\fR will consider this a parse error. Note that it is not possible to differentiate between an diff --git a/doc/visudo.mdoc.in b/doc/visudo.mdoc.in index f948b0e10..bdd49fc7b 100644 --- a/doc/visudo.mdoc.in +++ b/doc/visudo.mdoc.in @@ -182,7 +182,8 @@ Enable checking of the .Em sudoers file. -If an alias is used before it is defined, +If an alias is referenced but not actually defined +or if there is a cycle in an alias, .Nm will consider this a parse error. Note that it is not possible to differentiate between an