From b86386e0698bb2979fcd4531fc5f5568a0fad0dd Mon Sep 17 00:00:00 2001 From: octaspire Date: Sun, 10 Jan 2021 15:30:26 +0200 Subject: [PATCH] Add /etc/doas.conf --- README.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.org b/README.org index a430111..d3cd143 100644 --- a/README.org +++ b/README.org @@ -53,3 +53,18 @@ stow -t ~/ bin # and so on... #+end_src + +** Settings not Suitable for Stow + +*** OpenBSD + +**** =/etc/doas.conf= + +#+begin_src shell +permit nopass octaspire as root cmd /bin/cp args crates2 /usr/local/bin/ +permit nopass octaspire as root cmd /sbin/shutdown args -hp now +permit nopass octaspire as root cmd /sbin/reboot args +permit nopass octaspire as root cmd sh args /etc/netstart iwm0 +permit nopass octaspire as root cmd syspatch args +permit nopass octaspire as root cmd pkg_add args -ui +#+end_src -- 2.30.1