From: Todd C. Miller Date: Mon, 9 Aug 1999 14:35:53 +0000 (+0000) Subject: Allow a list of users as the first thing in a user spec, not just a X-Git-Tag: SUDO_1_6_0~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76c801a685d9b94de383d46c0002f383af72ed8e;p=sudo Allow a list of users as the first thing in a user spec, not just a single entry. This makes things more uniform, though it does allow you to write user specs that are hard to read. --- diff --git a/parse.yacc b/parse.yacc index e71927543..a3f0bd70f 100644 --- a/parse.yacc +++ b/parse.yacc @@ -244,7 +244,7 @@ entry : COMMENT { ; } | error COMMENT { yyerrok; } - | { push; } opuser privileges { + | { push; } userlist privileges { while (top && user_matches != TRUE) { pop; }