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