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

: ${CVTSUDOERS=cvtsudoers}

$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