From c6a5930928bd5389f80a1b533041ef9d2713ad02 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 20 Aug 2022 12:30:24 +0200 Subject: [PATCH] Allow any "wg show" subcommand --- arch-config/etc/sudoers.d/wireguard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-config/etc/sudoers.d/wireguard b/arch-config/etc/sudoers.d/wireguard index 33f45157..29ac69a3 100644 --- a/arch-config/etc/sudoers.d/wireguard +++ b/arch-config/etc/sudoers.d/wireguard @@ -1,3 +1,3 @@ -# The "wg show all" command may be run by anyone in the group "wireguard" +# "wg show" and subcommands command may be run by anyone in the group "wireguard" -%wireguard ALL=(ALL) NOPASSWD: /usr/bin/wg show interfaces +%wireguard ALL=(ALL) NOPASSWD: /usr/bin/wg show