summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/cvtsudoers/test16.sh
blob: 4a1632cd4e6d25595f00de79ce495d19cd91ac55 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Test filters and pruning
#

: ${CVTSUDOERS=cvtsudoers}

$CVTSUDOERS -c "" -f sudoers -p -m user=user2,host=host2 <<EOF
user1, user2, user3, %group1 host1, host2, host3 = ALL
EOF