Make files for /etc/sudoers.d/ and arrange for them to be copied over

This commit is contained in:
flyingscorpio@arch-desktop 2021-02-25 09:40:00 +01:00
parent 6a85a6027f
commit fa581f9643
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,3 @@
## Replace the usual "Sorry, try again." with insults upon incorrect password.
Defaults insults

View file

@ -0,0 +1,5 @@
## Use "sudo protonvpn" without needing a password.
## This is necessary to boot this setup, because "sudo protonvpn" is invoqued
## in ~/.xinitrc before starting the WM.
$USER ALL=(root) NOPASSWD:/usr/bin/protonvpn