/etc/adduser.conf should default to use extra_users

Bug #1496141 reported by Ben Howard
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Confirmed
High
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
USE_EXTRAUSERS=1

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.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

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

description: updated
Oliver Grawert (ogra)
Changed in snappy:
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
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).

Revision history for this message
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.

Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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