summaryrefslogtreecommitdiff
path: root/doas.conf
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
committerzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
commitf39d735e2ba625a31a7dbf6fb8bdd62501379ad1 (patch)
treed17c96714c930e0b8bc75616cc9c81b961ed5aa0 /doas.conf
Initial Commit
Diffstat (limited to 'doas.conf')
-rw-r--r--doas.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/doas.conf b/doas.conf
new file mode 100644
index 0000000..b4065ab
--- /dev/null
+++ b/doas.conf
@@ -0,0 +1,19 @@
+permit persist zachir
+permit nopass zachir cmd make args install
+permit nopass zachir cmd rsm args start libvirtd virtlockd virtlogd
+permit nopass zachir cmd rsm args stop libvirtd virtlockd virtlogd
+permit nopass zachir cmd pacman
+permit nopass zachir cmd iptables
+permit nopass zachir cmd ip6tables
+permit nopass zachir cmd mount
+permit nopass zachir cmd mount.exfat
+permit nopass zachir cmd umount
+permit nopass zachir cmd modprobe
+permit nopass zachir cmd zzz
+permit nopass zachir cmd sv
+permit nopass zachir cmd swhkd args
+permit nopass zachir cmd pkill args -HUP swhkd
+permit nopass zachir cmd killall args swhkd
+permit nopass keepenv zachir as zachir
+
+permit nopass keepenv root