From: Todd C. Miller Date: Thu, 12 Apr 2018 12:29:41 +0000 (-0600) Subject: Document that a User_Alias or Host_Alias may be used in the match filter. X-Git-Tag: SUDO_1_8_23^2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1accd4b481bd955d5697ba05c1fdc058e2ff64b;p=sudo Document that a User_Alias or Host_Alias may be used in the match filter. --- diff --git a/doc/cvtsudoers.cat b/doc/cvtsudoers.cat index 5634550ad..998e5f79d 100644 --- a/doc/cvtsudoers.cat +++ b/doc/cvtsudoers.cat @@ -115,7 +115,9 @@ DDEESSCCRRIIPPTTIIOONN Only output rules that match the specified _f_i_l_t_e_r. A _f_i_l_t_e_r expression is made up of one or more kkeeyy == _v_a_l_u_e pairs, separated by a comma (`,'). The kkeeyy may be "user", "group" - or "host". For example, uusseerr = _o_p_e_r_a_t_o_r or hhoosstt = _w_w_w. + or "host". For example, uusseerr = _o_p_e_r_a_t_o_r or hhoosstt = _w_w_w. An + upper-case User_Alias or Host_Alias may be specified as the + "user" or "host". A matching _s_u_d_o_e_r_s rule may also include users, groups and hosts that are not part of the _f_i_l_t_e_r. This can happen when @@ -237,4 +239,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or https://www.sudo.ws/license.html for complete details. -Sudo 1.8.23 April 5, 2018 Sudo 1.8.23 +Sudo 1.8.23 April 12, 2018 Sudo 1.8.23 diff --git a/doc/cvtsudoers.man.in b/doc/cvtsudoers.man.in index 8af1333f8..8891f26c6 100644 --- a/doc/cvtsudoers.man.in +++ b/doc/cvtsudoers.man.in @@ -16,7 +16,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH "CVTSUDOERS" "1" "April 5, 2018" "Sudo @PACKAGE_VERSION@" "General Commands Manual" +.TH "CVTSUDOERS" "1" "April 12, 2018" "Sudo @PACKAGE_VERSION@" "General Commands Manual" .nh .if n .ad l .SH "NAME" @@ -223,14 +223,18 @@ pairs, separated by a comma The \fBkey\fR may be -\(Lquser\(Rq, -\(Lqgroup\(Rq +\(lquser\(rq, +\(lqgroup\(rq or -\(Lqhost\(Rq. +\(lqhost\(rq. For example, \fBuser\fR = \fIoperator\fR or \fBhost\fR = \fIwww\fR. +An upper-case User_Alias or Host_Alias may be specified as the +\(lquser\(rq +or +\(lqhost\(rq. .sp A matching \fIsudoers\fR @@ -318,7 +322,7 @@ and grammar versions and exit. .PP Options in the form -\(Lqkeyword = value\(Rq +\(lqkeyword = value\(rq may also be specified in a configuration file, \fI@sysconfdir@/cvtsudoers.conf\fR by default. @@ -409,7 +413,7 @@ search the archives. .SH "DISCLAIMER" \fBcvtsudoers\fR is provided -\(LqAS IS\(Rq +\(lqAS IS\(rq and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. diff --git a/doc/cvtsudoers.mdoc.in b/doc/cvtsudoers.mdoc.in index d21d07f42..8867e0a22 100644 --- a/doc/cvtsudoers.mdoc.in +++ b/doc/cvtsudoers.mdoc.in @@ -14,7 +14,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 5, 2018 +.Dd April 12, 2018 .Dt CVTSUDOERS 1 .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -186,6 +186,10 @@ For example, .Sy user No = Ar operator or .Sy host No = Ar www . +An upper-case User_Alias or Host_Alias may be specified as the +.Dq user +or +.Dq host . .Pp A matching .Em sudoers