summaryrefslogtreecommitdiff
path: root/doas.conf
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-09 16:12:21 -0600
committerzachir <zachir@librem.one>2023-02-09 16:12:21 -0600
commit9c096aa3d0e26537228489f3c522070454d96436 (patch)
tree5bb432c10b19bee941aa8f48465df445b2277bf6 /doas.conf
parent63b2322d99e818b73199f8be74389088cb982040 (diff)
update doas.conf
Diffstat (limited to 'doas.conf')
-rw-r--r--doas.conf25
1 files changed, 9 insertions, 16 deletions
diff --git a/doas.conf b/doas.conf
index b4065ab..ab9b891 100644
--- a/doas.conf
+++ b/doas.conf
@@ -1,19 +1,12 @@
-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 persist setenv { XAUTHORITY LANG LC_ALL } zachir
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd make args install
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd iptables
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd ip6tables
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd mount
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd mount.exfat
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd umount
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd modprobe
+permit nopass setenv { XAUTHORITY LANG LC_ALL } zachir cmd zzz
permit nopass keepenv zachir as zachir
permit nopass keepenv root