2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Update the description of strict mode to current reality. Aliases

haven't needed to be defined before they are used since sudo 1.7.
This commit is contained in:
Todd C. Miller 2017-02-22 14:13:07 -07:00
parent daa728fd88
commit 05e52c7b82
3 changed files with 9 additions and 7 deletions

View File

@ -63,11 +63,11 @@ DDEESSCCRRIIPPTTIIOONN
--ss, ----ssttrriicctt --ss, ----ssttrriicctt
Enable _s_t_r_i_c_t checking of the _s_u_d_o_e_r_s file. If an alias is 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 referenced but not actually defined or if there is a cycle in
error. Note that it is not possible to differentiate between an alias, vviissuuddoo will consider this a parse error. Note that
an alias and a host name or user name that consists solely of it is not possible to differentiate between an alias and a
uppercase letters, digits, and the underscore (`_') host name or user name that consists solely of uppercase
character. letters, digits, and the underscore (`_') character.
--VV, ----vveerrssiioonn --VV, ----vveerrssiioonn
Print the vviissuuddoo and _s_u_d_o_e_r_s grammar versions and exit. Print the vviissuuddoo and _s_u_d_o_e_r_s grammar versions and exit.

View File

@ -189,7 +189,8 @@ Enable
checking of the checking of the
\fIsudoers\fR \fIsudoers\fR
file. 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 \fBvisudo\fR
will consider this a parse error. will consider this a parse error.
Note that it is not possible to differentiate between an Note that it is not possible to differentiate between an

View File

@ -182,7 +182,8 @@ Enable
checking of the checking of the
.Em sudoers .Em sudoers
file. 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 .Nm
will consider this a parse error. will consider this a parse error.
Note that it is not possible to differentiate between an Note that it is not possible to differentiate between an