summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/sudoers/test28.out.ok
blob: 443573cb9d3d03310da358e85fe7d44bad1c72e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Parses OK

Defaults passprompt_regex="(?i)password: *"

user ALL = /bin/ls ^/etc/(hosts|motd|issue)$
user ALL = /usr/bin/c* ^/etc/(hosts|motd|issue)$
user ALL = ^/usr/bin/(who|w|id|whoami)$
user ALL = ^/usr/bin/(who|w|id|whoami)$ ""
user ALL = ^/usr/bin/(who|w|id|whoami)$ root
user ALL = ^/usr/bin/(who|w|id|whoami)$ -*
user ALL = ^/usr/bin/(who|w|id|whoami)$ ^(-[ahi] ?)+$
user ALL = sudoedit ^/etc/(hosts|motd|issue)$
user ALL = ^/usr/bin/\$tree$
user host1 = /bin/ls ^/etc/(hosts|motd|issue)$, /usr/bin/c* ^/etc/(hosts|motd|issue)$ : host2 = ^/usr/bin/(who|w|id|whoami)$ "", ^/usr/bin/(who|w|id|whoami)$ root : host3 = /bin/echo ^\$foo$