summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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