summaryrefslogtreecommitdiff
path: root/regress/usr.bin/doas/t-okay.conf
blob: 08b0008492f9728fbc33d29f2cfb40e02bd4c1c1 (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 keepenv { \
    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