/etc/adduser.conf should default to use extra_users

Bug #1496141 reported by Ben Howard on 2015-09-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Oliver Grawert

Bug Description

On Snappy, since creation of traditional users is a no-op, /etc/adduser.conf should default to using
# use extrausers by default

This change would make it so that "adduser" works without having to add "--extrauser". And it means that cloud-init would be able to create users.

Ben Howard (darkmuggle) wrote :

This request is important for Cloud Builds, especially for Azure.

description: updated
Oliver Grawert (ogra) on 2015-09-15
Changed in snappy:
assignee: nobody → Oliver Grawert (ogra)
Zygmunt Krynicki (zyga) wrote :

Looking at the core snap currently it doesn't set USE_EXTRAUSERS=1 (that line is near the bottom of the configuration file and is commented out). I wonder if this is still an issue, perhaps some other layer was adjusted to make this the default (since the core snap has a few custom packages).

Oliver Grawert (ogra) wrote :

there was no adjustment apart from hardcoding --extrausers everywhere in the image when any of the password-db related commands are used ... it would still be useful to instead switch the default and be able to drop that hardcoding in a bunch of places instead.

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

Other bug subscribers