aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/doas.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/doas.conf')
-rw-r--r--etc/doas.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/doas.conf b/etc/doas.conf
new file mode 100644
index 0000000..748a016
--- /dev/null
+++ b/etc/doas.conf
@@ -0,0 +1,3 @@
+permit persist setenv { LANG LC_ALL EDITOR DIFFPROG } :wheel
+permit nopass :wheel as root cmd /usr/bin/poweroff
+permit nopass :wheel as root cmd /usr/bin/reboot