Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
remove temp sudo files
Browse files Browse the repository at this point in the history
  • Loading branch information
pznguin-kyun committed Jul 10, 2024
1 parent 2072425 commit 4c97e75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions penguinrice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ finalize(){
# Allow wheel users to sudo with password and allow several system commands
echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00-penguinrice-wheel-can-sudo
echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/poweroff,/usr/bin/reboot,/usr/bin/systemctl,/usr/bin/loginctl,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/loadkeys" >/etc/sudoers.d/01-penguinrice-cmds-without-password
rm -rf /etc/sudoers.d/penguinrice-temp
}

complete_msg(){
Expand Down

0 comments on commit 4c97e75

Please sign in to comment.