summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-05-30 22:57:29 -0500
committerzachir <zachir@librem.one>2023-05-30 22:57:29 -0500
commita70fe918323a0826a70d752fa7f34234cfede5bc (patch)
treef20a3be1a70c9e242900c232dfb2ce47342a77f0
parenteafdb84b811139e9f3f506dafbc685cf34993dc7 (diff)
nopass for systemctl and use EDITOR for vimv
-rw-r--r--doas.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/doas.conf b/doas.conf
index c0328d2..9baed26 100644
--- a/doas.conf
+++ b/doas.conf
@@ -10,7 +10,9 @@ permit nopass :wheel cmd modprobe
permit nopass :wheel cmd zzz
permit nopass :wheel cmd pacman
permit nopass :wheel cmd cryptsetup
+permit nopass :wheel cmd systemctl
permit setenv { EDITOR } :wheel cmd visudo args
+permit setenv { EDITOR } :wheel cmd vimv args
permit nopass keepenv zachir as zachir
permit nopass keepenv root