Cyril Brulebois <k...@debian.org> wrote: > Err, installing sudo and making the first user a sudoer is what is > supposed to happen in such a case. The existing /etc && /home might > have had some kind of influence on the net results.
Indeed that seems to be the case. Looking at user-setup-apply, line 154 has a conditional which only installs sudo if /etc/sudoers does not exist in the target. This test obviously fails to do the right thing when installing with an existing /etc. If the next line (157) which has the installation commands is a no-op when sudo is installed (at least it should be), then I think the conditional could be removed completely. Best, Teemu