diff --git a/etc/sudoers b/etc/sudoers new file mode 100644 index 0000000..7f1f035 --- /dev/null +++ b/etc/sudoers @@ -0,0 +1,5 @@ +%wheel ALL=(ALL:ALL) ALL + +@includedir /etc/sudoers.d + +Defaults passwd_timeout=0 diff --git a/etc/sudoers.d/custompower b/etc/sudoers.d/custompower new file mode 100644 index 0000000..eaea1b4 --- /dev/null +++ b/etc/sudoers.d/custompower @@ -0,0 +1 @@ +%custompower ALL= NOPASSWD: /sbin/reboot,/sbin/shutdown now,/sbin/systemctl suspend diff --git a/etc/sudoers.d/wireguard b/etc/sudoers.d/wireguard new file mode 100644 index 0000000..e60db73 --- /dev/null +++ b/etc/sudoers.d/wireguard @@ -0,0 +1 @@ +%wireguard ALL= NOPASSWD: /sbin/systemctl start wg-quick@wg0.service,/sbin/systemctl stop wg-quick@wg0.service