|
|
1.1 misho 1: #!/bin/sh
2: #
3: # Test #include facility
4: #
5:
6: MYUID=`\ls -ln $TESTDIR/test2.inc | awk '{print $3}'`
7: MYGID=`\ls -ln $TESTDIR/test2.inc | awk '{print $4}'`
8: exec 2>&1
9: ./testsudoers -U $MYUID -G $MYGID root id <<EOF
10: #include $TESTDIR/test2.inc
11: EOF
12:
13: exit 0