2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

An empty group or netgroup should be a syntax error.

This commit is contained in:
Todd C. Miller 2011-03-24 11:00:05 -04:00
parent 5438a0be6a
commit c5cc89da15
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# These should all be syntax errors
User_Alias FOO1 = "%"
User_Alias FOO2 = "%:"
User_Alias FOO3 = "+"
User_Alias FOO4 = %
User_Alias FOO5 = %:
User_Alias FOO6 = +

View File

@ -0,0 +1,4 @@
Does not parse.

View File

@ -0,0 +1,7 @@
#
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
USERALIAS ALIAS = BEGINSTR STRBODY ENDSTR ERROR <*>
USERALIAS ALIAS = ERROR <*>
USERALIAS ALIAS = ERROR <*>
USERALIAS ALIAS = ERROR <*>