From: Todd C. Miller Date: Mon, 11 Nov 1996 00:15:21 +0000 (+0000) Subject: always store User_Alias's since they can be used inside of a runas list. Sigh. ... X-Git-Tag: SUDO_1_5_3~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=894ef0be76209f089db8d770f0e020ca5471c825;p=sudo always store User_Alias's since they can be used inside of a runas list. Sigh. Really need a Runas_Alias instead. --- diff --git a/parse.yacc b/parse.yacc index b36b07237..396a57b01 100644 --- a/parse.yacc +++ b/parse.yacc @@ -509,7 +509,7 @@ useraliases : useralias ; useralias : ALIAS { push; } '=' userlist { - if (user_matches == TRUE && !add_alias($1, USER)) + if (!add_alias($1, USER)) YYERROR; pop; (void) free($1);