Fix a few typos and awkward wording.

Use the singular "they" instead of he/she.
Add back missing text in description of variables starting with ().
Based on changes from Sander Bos.
This commit is contained in:
Todd C. Miller
2019-06-19 14:02:16 -06:00
parent cb4ded8fb6
commit 7d5b1e3b1b
3 changed files with 31 additions and 26 deletions

View File

@@ -134,15 +134,16 @@ DDEESSCCRRIIPPTTIIOONN
few environment variables are treated specially. If the PATH and TERM few environment variables are treated specially. If the PATH and TERM
variables are not preserved from the user's environment, they will be set variables are not preserved from the user's environment, they will be set
to default values. The LOGNAME and USER are handled as a single entity. to default values. The LOGNAME and USER are handled as a single entity.
If one of them is preserved (or removed) from user's environment, the If one of them is preserved (or removed) from the user's environment, the
other will be as well. If LOGNAME and USER are to be preserved but only other will be as well. If LOGNAME and USER are to be preserved but only
one of them is present in the user's environment, the other will be set one of them is present in the user's environment, the other will be set
to the same value. This avoids an inconsistent environment where one of to the same value. This avoids an inconsistent environment where one of
the variables describing the user name is set to the invoking user and the variables describing the user name is set to the invoking user and
one is set to the target user. () are removed unless both the name and one is set to the target user. Environment variables with a value
value parts are matched by _e_n_v___k_e_e_p or _e_n_v___c_h_e_c_k, as they may be beginning with () are removed unless both the name and value parts are
interpreted as functions by the bbaasshh shell. Prior to version 1.8.11, matched by _e_n_v___k_e_e_p or _e_n_v___c_h_e_c_k, as they may be interpreted as functions
such variables were always removed. by the bbaasshh shell. Prior to version 1.8.11, such variables were always
removed.
If, however, the _e_n_v___r_e_s_e_t option is disabled, any variables not If, however, the _e_n_v___r_e_s_e_t option is disabled, any variables not
explicitly denied by the _e_n_v___c_h_e_c_k and _e_n_v___d_e_l_e_t_e options are inherited explicitly denied by the _e_n_v___c_h_e_c_k and _e_n_v___d_e_l_e_t_e options are inherited
@@ -409,7 +410,7 @@ SSUUDDOOEERRSS FFIILLEE FFOORRMMAATT
other aliases. A command name is a fully qualified file name which may other aliases. A command name is a fully qualified file name which may
include shell-style wildcards (see the _W_i_l_d_c_a_r_d_s section below). A include shell-style wildcards (see the _W_i_l_d_c_a_r_d_s section below). A
simple file name allows the user to run the command with any arguments simple file name allows the user to run the command with any arguments
he/she wishes. However, you may also specify command line arguments they wish. However, you may also specify command line arguments
(including wildcards). Alternately, you can specify "" to indicate that (including wildcards). Alternately, you can specify "" to indicate that
the command may only be run wwiitthhoouutt command line arguments. A directory the command may only be run wwiitthhoouutt command line arguments. A directory
is a fully qualified path name ending in a `/'. When you specify a is a fully qualified path name ending in a `/'. When you specify a
@@ -752,11 +753,11 @@ SSUUDDOOEERRSS FFIILLEE FFOORRMMAATT
the group specified by the _e_x_e_m_p_t___g_r_o_u_p option. the group specified by the _e_x_e_m_p_t___g_r_o_u_p option.
By default, if the NOPASSWD tag is applied to any of the entries for a By default, if the NOPASSWD tag is applied to any of the entries for a
user on the current host, he or she will be able to run "sudo -l" user on the current host, they will be able to run "sudo -l" without a
without a password. Additionally, a user may only run "sudo -v" password. Additionally, a user may only run "sudo -v" without a
without a password if the NOPASSWD tag is present for all a user's password if all of the user's entries for the current host have the
entries that pertain to the current host. This behavior may be NOPASSWD tag. This behavior may be overridden via the _v_e_r_i_f_y_p_w and
overridden via the _v_e_r_i_f_y_p_w and _l_i_s_t_p_w options. _l_i_s_t_p_w options.
_S_E_T_E_N_V and _N_O_S_E_T_E_N_V _S_E_T_E_N_V and _N_O_S_E_T_E_N_V
@@ -2948,4 +2949,4 @@ DDIISSCCLLAAIIMMEERR
file distributed with ssuuddoo or https://www.sudo.ws/license.html for file distributed with ssuuddoo or https://www.sudo.ws/license.html for
complete details. complete details.
Sudo 1.8.28 June 14, 2019 Sudo 1.8.28 Sudo 1.8.28 June 19, 2019 Sudo 1.8.28

View File

@@ -25,7 +25,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.TH "SUDOERS" "@mansectform@" "June 14, 2019" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .TH "SUDOERS" "@mansectform@" "June 19, 2019" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@@ -345,8 +345,8 @@ The
and and
\fRUSER\fR \fRUSER\fR
are handled as a single entity. are handled as a single entity.
If one of them is preserved (or removed) from user's environment, the other If one of them is preserved (or removed) from the user's environment,
will be as well. the other will be as well.
If If
\fRLOGNAME\fR \fRLOGNAME\fR
and and
@@ -356,6 +356,7 @@ the other will be set to the same value.
This avoids an inconsistent environment where one of the variables This avoids an inconsistent environment where one of the variables
describing the user name is set to the invoking user and one is describing the user name is set to the invoking user and one is
set to the target user. set to the target user.
Environment variables with a value beginning with
\fR()\fR \fR()\fR
are removed unless both the name and value parts are matched by are removed unless both the name and value parts are matched by
\fIenv_keep\fR \fIenv_keep\fR
@@ -893,7 +894,7 @@ shell-style wildcards (see the
\fIWildcards\fR \fIWildcards\fR
section below). section below).
A simple file name allows the user to run the command with any A simple file name allows the user to run the command with any
arguments he/she wishes. arguments they wish.
However, you may also specify command line arguments (including However, you may also specify command line arguments (including
wildcards). wildcards).
Alternately, you can specify Alternately, you can specify
@@ -1634,14 +1635,15 @@ option.
By default, if the By default, if the
\fRNOPASSWD\fR \fRNOPASSWD\fR
tag is applied to any of the entries for a user on the current host, tag is applied to any of the entries for a user on the current host,
he or she will be able to run they will be able to run
\(lq\fRsudo -l\fR\(rq \(lq\fRsudo -l\fR\(rq
without a password. without a password.
Additionally, a user may only run Additionally, a user may only run
\(lq\fRsudo -v\fR\(rq \(lq\fRsudo -v\fR\(rq
without a password if the without a password if all of the user's entries for the current
host have the
\fRNOPASSWD\fR \fRNOPASSWD\fR
tag is present for all a user's entries that pertain to the current host. tag.
This behavior may be overridden via the This behavior may be overridden via the
\fIverifypw\fR \fIverifypw\fR
and and

View File

@@ -24,7 +24,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.Dd June 14, 2019 .Dd June 19, 2019
.Dt SUDOERS @mansectform@ .Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -335,8 +335,8 @@ The
and and
.Ev USER .Ev USER
are handled as a single entity. are handled as a single entity.
If one of them is preserved (or removed) from user's environment, the other If one of them is preserved (or removed) from the user's environment,
will be as well. the other will be as well.
If If
.Ev LOGNAME .Ev LOGNAME
and and
@@ -346,6 +346,7 @@ the other will be set to the same value.
This avoids an inconsistent environment where one of the variables This avoids an inconsistent environment where one of the variables
describing the user name is set to the invoking user and one is describing the user name is set to the invoking user and one is
set to the target user. set to the target user.
Environment variables with a value beginning with
.Li () .Li ()
are removed unless both the name and value parts are matched by are removed unless both the name and value parts are matched by
.Em env_keep .Em env_keep
@@ -857,7 +858,7 @@ shell-style wildcards (see the
.Sx Wildcards .Sx Wildcards
section below). section below).
A simple file name allows the user to run the command with any A simple file name allows the user to run the command with any
arguments he/she wishes. arguments they wish.
However, you may also specify command line arguments (including However, you may also specify command line arguments (including
wildcards). wildcards).
Alternately, you can specify Alternately, you can specify
@@ -1538,14 +1539,15 @@ option.
By default, if the By default, if the
.Li NOPASSWD .Li NOPASSWD
tag is applied to any of the entries for a user on the current host, tag is applied to any of the entries for a user on the current host,
he or she will be able to run they will be able to run
.Dq Li sudo -l .Dq Li sudo -l
without a password. without a password.
Additionally, a user may only run Additionally, a user may only run
.Dq Li sudo -v .Dq Li sudo -v
without a password if the without a password if all of the user's entries for the current
host have the
.Li NOPASSWD .Li NOPASSWD
tag is present for all a user's entries that pertain to the current host. tag.
This behavior may be overridden via the This behavior may be overridden via the
.Em verifypw .Em verifypw
and and