summaryrefslogtreecommitdiff
path: root/doas.conf
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-09 21:07:06 -0600
committerzachir <zachir@librem.one>2023-02-09 21:07:06 -0600
commit7a2dd5235800003487d43c57d1b76847c692bce4 (patch)
tree8d96101718e456180a6c6df40182a3e5dfe7e5cd /doas.conf
parent590e65f30f0478d7345be93191dc8bbe151c8a55 (diff)
parent9c096aa3d0e26537228489f3c522070454d96436 (diff)
merge updates
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