From cb11caf69d7e2d59e3411fe300f786bba345db24 Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Thu, 1 Feb 2024 21:13:04 +0100 Subject: [PATCH] init: ensure sudo with user password Signed-off-by: Luca Di Maio --- distrobox-init | 1 + 1 file changed, 1 insertion(+) diff --git a/distrobox-init b/distrobox-init index 2483569853..6c7e3f11db 100755 --- a/distrobox-init +++ b/distrobox-init @@ -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