reassign 672140 user-setup thanks Quoting Debian Bug Tracking System (ow...@bugs.debian.org): > Processing commands for cont...@bugs.debian.org: > > > reassign 672140 debian-installer > Bug #672140 [policykit-1] prompts for root passwords on a sudo-only system > Bug reassigned from package 'policykit-1' to 'debian-installer'. > No longer marked as found in versions policykit-1/0.104-2. > Ignoring request to alter fixed versions of bug #672140 to the same values > previously set > > retitle 672140 sudo users should be in sudo group > Bug #672140 [debian-installer] prompts for root passwords on a sudo-only > system > Changed Bug title to 'sudo users should be in sudo group' from 'prompts for > root passwords on a sudo-only system'
Reassigning to the right D-I component. However, in user-setup-apply: if [ -e $ROOT/etc/sudoers ]; then # Test if we can add the user to the sudo group # (possible if sudo >= 1.7.2-2 is installed on the target system) # If we can, do it this way, otherwise add the user to sudoers # See #597239 if ! $log $chroot $ROOT adduser "$USER" sudo >/dev/null 2>&1; then echo "$USER ALL=(ALL) ALL" >> $ROOT/etc/sudoers fi else # sudo failed to install, system won't be usable exit 1 fi In short, according to this code, this is already implemented, as of user-setup 1.34, assuming the sudo group exists at the time this is done. Adding the sudo user to sudoers is only a fallback.
signature.asc
Description: Digital signature