feat: add void

This commit is contained in:
Strix 2023-11-16 15:43:34 +01:00
parent 6762a87b83
commit c8610fb3fd
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
9 changed files with 46 additions and 16 deletions

View file

@ -4,7 +4,6 @@ describe="Install stuff on the system!"
scripts="@distro @self"
super_apply() {
cp files/sudoers /etc/sudoers
if [ -f /usr/lib/security/pam_wheel.so ] && ! grep -q "# pam_wheel.so added" /etc/pam.d/su; then
echo "auth sufficient pam_wheel.so trust use_uid" > /etc/pam.d/su
echo "# pam_wheel.so added" > /etc/pam.d/su

View file

@ -1,6 +0,0 @@
root ALL=(ALL:ALL) ALL
%wheel ALL=(ALL:ALL) ALL
%docker ALL=(ALL:ALL) ALL
%sudo ALL=(ALL:ALL) ALL
%root ALL=(ALL:ALL) NOPASSWD: ALL
@includedir /etc/sudoers.d