From a70fe918323a0826a70d752fa7f34234cfede5bc Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 30 May 2023 22:57:29 -0500 Subject: nopass for systemctl and use EDITOR for vimv --- doas.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doas.conf') 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 -- cgit v1.2.3