summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/testsudoers/test4.sh
blob: 4d496c79366a38db8ad73e46e2ece63623f2b6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Test sudoers owner check
#

: ${TESTSUDOERS=testsudoers}

exec 2>&1
$TESTSUDOERS -U 1 root id <<EOF
@include $TESTDIR/test2.inc
EOF

exit 0