summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/visudo/test1.sh
blob: c922e35d1d06d068721b46413ae1237ce0306916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Sudo Bug 519:
# Visudo in strict mode reports "parse error" even if there is no error
#

./visudo -csf - <<EOF
User_Alias FOO = nobody
FOO ALL=(ALL) NOPASSWD: ALL
EOF

exit 0