projects
/
debian
/
sudo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.8.7
[debian/sudo]
/
plugins
/
sudoers
/
regress
/
visudo
/
test2.sh
1
#!/bin/sh
2
#
3
# Test cycle detection
4
# Prior to sudo 1.8.6p5 this resulted in a core dump (stack smash)
5
# The names of the aliases (or rather their lexical order) is important.
6
#
7
8
./visudo -csf - <<EOF
9
User_Alias YYY = FOO
10
User_Alias XXX = nobody
11
User_Alias FOO = XXX, YYY
12
FOO ALL = ALL
13
EOF
14
15
exit 0