Skip to content

Commit

Permalink
init: ensure sudo with user password
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Feb 1, 2024
1 parent 91deba8 commit cb11caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,7 @@ fi
# Do not check fqdn when doing sudo, it will not work anyways
# Also allow canonical groups to use sudo
cat << EOF > /etc/sudoers.d/sudoers
Defaults !targetpw
Defaults !fqdn
%wheel ALL=(ALL:ALL) ALL
%sudo ALL=(ALL:ALL) ALL
Expand Down

0 comments on commit cb11caf

Please sign in to comment.