From a020d954c3c05b841d1bc062677b0f6036d1f135 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Fri, 23 Feb 2024 16:17:11 +0100 Subject: [PATCH] new sudoers rules --- files/etc/sudoers.d/brightness-notify | 1 - files/etc/sudoers.d/mount | 1 + files/etc/sudoers.d/sv | 1 + files/etc/sudoers.d/xbps | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 files/etc/sudoers.d/mount create mode 100644 files/etc/sudoers.d/sv create mode 100644 files/etc/sudoers.d/xbps diff --git a/files/etc/sudoers.d/brightness-notify b/files/etc/sudoers.d/brightness-notify index 2c68b5e..372995d 100644 --- a/files/etc/sudoers.d/brightness-notify +++ b/files/etc/sudoers.d/brightness-notify @@ -1,2 +1 @@ %wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/*/brightness -%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/*/brightness diff --git a/files/etc/sudoers.d/mount b/files/etc/sudoers.d/mount new file mode 100644 index 0000000..2d88798 --- /dev/null +++ b/files/etc/sudoers.d/mount @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/mount, /usr/bin/umount diff --git a/files/etc/sudoers.d/sv b/files/etc/sudoers.d/sv new file mode 100644 index 0000000..83c465e --- /dev/null +++ b/files/etc/sudoers.d/sv @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/vsv, /usr/bin/svlogtail diff --git a/files/etc/sudoers.d/xbps b/files/etc/sudoers.d/xbps new file mode 100644 index 0000000..7868565 --- /dev/null +++ b/files/etc/sudoers.d/xbps @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/xbps-install, /usr/bin/xbps-remove, /usr/bin/xi