summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/cvtsudoers/test21.sh
blob: 66c18b6cf600cfb46829ea01eb952261d6883804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Test cvtsudoers.conf
#

exec 2>&1
./cvtsudoers -c $TESTDIR/test21.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