summaryrefslogtreecommitdiff
path: root/regress/usr.bin/doas/t-okay.conf
blob: 15f01513fb22a8d480fbcd4014fdd35546e9f16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
permit :wheel
deny :wheel
deny root
permit nopass root
permit :wheel cmd echo
permit :wheel cmd /bin/echo
permit :wheel cmd "/bin/echo"
permit :wheel cmd "/bi"n"/echo"

permit :wheel cmd echo args
permit :wheel cmd echo args \
"args"
permit :wheel cmd echo args \
    "args"

permit :wheel cmd echo args "" ""

permit :wheel cmd echo args " args \22 "

permit nopass setenv { \
    FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK \
    DESTDIR DISTDIR FETCH_CMD FLAVOR GROUP MAKE MAKECONF \
    MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \
    PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \
    SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wheel