forked from drduh/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doas.conf
34 lines (34 loc) · 1.5 KB
/
doas.conf
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
26
27
28
29
30
31
32
33
34
# https://github.com/drduh/config/blob/master/doas.conf
# https://man.openbsd.org/doas.conf
permit persist :wheel
permit nopass :wheel cmd cu args -r -s 115200 -l cuaU0
permit nopass :wheel cmd dhclient args em0
permit nopass :wheel cmd disklabel args -h sd0
permit nopass :wheel cmd disklabel args -h sd1
permit nopass :wheel cmd disklabel args -h sd2
permit nopass :wheel cmd disklabel args -h sd3
permit nopass :wheel cmd disklabel args -h sd4
permit nopass :wheel cmd disklabel args -h sd5
permit nopass :wheel cmd fw_update
permit nopass :wheel cmd mount
permit nopass :wheel cmd netstat args -an
permit nopass :wheel cmd openvpn args --config client.ovpn
permit nopass :wheel cmd pfctl args -s state
permit nopass :wheel cmd pfctl args -f /etc/pf.conf
permit nopass :wheel cmd pkg_add
permit nopass :wheel cmd pkg_check
permit nopass :wheel cmd rcctl args restart dnsmasq
permit nopass :wheel cmd rcctl args restart privoxy
permit nopass :wheel cmd reboot
permit nopass :wheel cmd route args add default 10.4.1.1
permit nopass :wheel cmd route args add default 10.8.1.1
permit nopass :wheel cmd route args add default 172.16.1.1
permit nopass :wheel cmd route args add default 192.168.1.1
permit nopass :wheel cmd route args delete default
permit nopass :wheel cmd sh args /etc/netstart
permit nopass :wheel cmd sysupgrade args -s
permit nopass :wheel cmd sysupgrade args -sn
permit nopass :wheel cmd tcpdump args -ni pflog0
permit nopass :wheel cmd tcpdump args -qni pflog0
permit nopass :wheel cmd umount
permit nopass keepenv root