summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/cvtsudoers/test31.sh
blob: 38dd93c35684a828a877fce4dd4ca0488a850e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# Test cvtsudoers.conf with padding
#

: ${CVTSUDOERS=cvtsudoers}

$CVTSUDOERS -c $TESTDIR/test31.conf <<EOF
Defaults authenticate, timestamp_timeout=0
User_Alias FULLTIMERS = user1, user2, user3

ALL ALL = (:) NOPASSWD:/usr/bin/id
FULLTIMERS ALL = (ALL:ALL) ALL
EOF