]> granicus.if.org Git - sudo/commitdiff
Allow a list of users as the first thing in a user spec, not just a
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Aug 1999 14:35:53 +0000 (14:35 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Aug 1999 14:35:53 +0000 (14:35 +0000)
single entry.  This makes things more uniform, though it does allow
you to write user specs that are hard to read.

parse.yacc

index e71927543b73d253dc1fc8329662f0603d6394be..a3f0bd70ff5edfe8b9191bbf839d519e2fd71dff 100644 (file)
@@ -244,7 +244,7 @@ entry               :       COMMENT
                            { ; }
                 |       error COMMENT
                            { yyerrok; }
-               |       { push; } opuser privileges {
+               |       { push; } userlist privileges {
                            while (top && user_matches != TRUE) {
                                pop;
                            }