From: Todd C. Miller Date: Sat, 17 Jan 2004 21:25:40 +0000 (+0000) Subject: Add missing defintion of Parameter_List and use single pipes in the X-Git-Tag: SUDO_1_6_8~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6def750d085c46774dbc8870a3f8ef55f3f83f6b;p=sudo Add missing defintion of Parameter_List and use single pipes in the Defaults EBNF definition. --- diff --git a/sudoers.man.in b/sudoers.man.in index 9c1615de7..350059bb7 100644 --- a/sudoers.man.in +++ b/sudoers.man.in @@ -167,7 +167,7 @@ .\" ======================================================================== .\" .IX Title "SUDOERS @mansectform@" -.TH SUDOERS @mansectform@ "January 12, 2004" "1.6.8" "MAINTENANCE COMMANDS" +.TH SUDOERS @mansectform@ "January 17, 2004" "1.6.8" "MAINTENANCE COMMANDS" .SH "NAME" sudoers \- list of which users may execute what .SH "DESCRIPTION" @@ -365,9 +365,9 @@ multiple entries match, they are applied in order. Where there are conflicting values, the last value on a matching line takes effect. .PP .Vb 4 -\& Default_Type ::= 'Defaults' || -\& 'Defaults' '@' Host || -\& 'Defaults' ':' User || +\& Default_Type ::= 'Defaults' | +\& 'Defaults' '@' Host | +\& 'Defaults' ':' User | \& 'Defaults' '>' RunasUser .Ve .PP @@ -375,11 +375,16 @@ conflicting values, the last value on a matching line takes effect. \& Default_Entry ::= Default_Type Parameter_List .Ve .PP +.Vb 2 +\& Parameter_List ::= Parameter | +\& Parameter ',' Parameter_List +.Ve +.PP .Vb 4 -\& Parameter ::= Parameter '=' Value || -\& Parameter '+=' Value || -\& Parameter '-=' Value || -\& '!'* Parameter || +\& Parameter ::= Parameter '=' Value | +\& Parameter '+=' Value | +\& Parameter '-=' Value | +\& '!'* Parameter .Ve .PP Parameters may be \fBflags\fR, \fBinteger\fR values, \fBstrings\fR, or \fBlists\fR. diff --git a/sudoers.pod b/sudoers.pod index 6a9736c6a..303119d96 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -208,17 +208,20 @@ specific user, or commands being run as a specific user. When multiple entries match, they are applied in order. Where there are conflicting values, the last value on a matching line takes effect. - Default_Type ::= 'Defaults' || - 'Defaults' '@' Host || - 'Defaults' ':' User || + Default_Type ::= 'Defaults' | + 'Defaults' '@' Host | + 'Defaults' ':' User | 'Defaults' '>' RunasUser Default_Entry ::= Default_Type Parameter_List - Parameter ::= Parameter '=' Value || - Parameter '+=' Value || - Parameter '-=' Value || - '!'* Parameter || + Parameter_List ::= Parameter | + Parameter ',' Parameter_List + + Parameter ::= Parameter '=' Value | + Parameter '+=' Value | + Parameter '-=' Value | + '!'* Parameter Parameters may be B, B values, B, or B. Flags are implicitly boolean and can be turned off via the '!'