preseed doesn't setup user in /etc/sudoers

Bug #14561 reported by Carl Karsten on 2005-03-26
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Colin Watson

Bug Description

Using these lines, only root is in /etc/sudoers. I ran debconf-get-selections
(--installer) on a box that was done with no preseed (the user was added) and
didn't anything relevent.

###### Account setup.

# To preseed the root password, you have to put it in the clear in this
# file. That is not a very good idea, use caution!
passwd passwd/root-password password rootme
passwd passwd/root-password-again password rootme

# If you want to skip creation of a normal user account.
#passwd passwd/make-user boolean false
# Alternatively, you can preseed the user's name and login.
passwd passwd/user-fullname string Joe User
passwd passwd/username string juser
# And their password, but use caution!
passwd passwd/user-password password useme
passwd passwd/user-password-again password useme

Colin Watson (cjwatson) wrote :

This is intentional; you only get the initial user in /etc/sudoers if you don't
set the root password. If you want this behaviour even when you've set a root
password, use one of the various means provided of executing post-installation

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.