create-user primitive

Gustavo Niemeyer gustavo at
Mon Jan 23 10:37:28 UTC 2017

It's okay that the command itself isn't super visible. The main reason it
exists is to back console-conf, which is very visible and should be
properly documented.

On Wed, Jan 18, 2017 at 3:37 PM, Manik Taneja <manik at> wrote:

> On Wed, Jan 18, 2017 at 4:33 AM, Gustavo Niemeyer <gustavo at>
> wrote:
>> Don't see a reason to go beyond not listing it. The command works fine,
>> including proper help and reasonable error messages.
>> The reason it prevents creating users when one already exists is so we
>> don't see scripts opening back doors by mistake. As Michael points out,
>> this may be overriden with --force-managed.
>> i would suggest that we document this somewhere. the only way i knew
> about its existence was the fact that i had seen the primitive in an
> earlier version of snapd. for others who are not familiar, this might not
> even show up on their radar.
> /manik
> --
> Snapcraft mailing list
> Snapcraft at
> Modify settings or unsubscribe at:
> mailman/listinfo/snapcraft


gustavo @
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Snapcraft mailing list