From c3755e825b39be8aa5b4fb7c2c5bd1dcb85006f7 Mon Sep 17 00:00:00 2001 From: Out Of Ideas Date: Tue, 26 Mar 2024 11:40:22 -0500 Subject: [PATCH] Update doas config --- doas/doas.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doas/doas.conf b/doas/doas.conf index 2a6c3a7..1453e87 100644 --- a/doas/doas.conf +++ b/doas/doas.conf @@ -1,2 +1,7 @@ -permit persist keepenv :wheel as root +# See doas.conf(5) and doas.d(5) for configuration details. +# Uncomment to allow group "wheel" to become root. +permit persist :wheel +permit nopass :wheel cmd /usr/bin/brightnessctl +permit nopass :wheel cmd /sbin/reboot +permit nopass :wheel cmd /sbin/poweroff