add etc files

This commit is contained in:
TheK4n 2022-11-06 20:07:53 +03:00
parent 11f0258fc4
commit fadee362a6
3 changed files with 7 additions and 0 deletions

5
etc/sudoers Normal file
View File

@ -0,0 +1,5 @@
%wheel ALL=(ALL:ALL) ALL
@includedir /etc/sudoers.d
Defaults passwd_timeout=0

View File

@ -0,0 +1 @@
%custompower ALL= NOPASSWD: /sbin/reboot,/sbin/shutdown now,/sbin/systemctl suspend

1
etc/sudoers.d/wireguard Normal file
View File

@ -0,0 +1 @@
%wireguard ALL= NOPASSWD: /sbin/systemctl start wg-quick@wg0.service,/sbin/systemctl stop wg-quick@wg0.service