create-user primitive

Gustavo Niemeyer gustavo at niemeyer.net
Wed Jan 18 12:33:54 UTC 2017


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.




On Wed, Jan 18, 2017 at 6:10 AM, Evan Dandrea <evan.dandrea at canonical.com>
wrote:

> On Tue, 17 Jan 2017 at 23:31 Michael Hudson-Doyle <
> michael.hudson at canonical.com> wrote:
>
>> Well snap create-user is mostly there exactly so that console-conf can
>> invoke it. That's also why it's hidden from snap help!
>>
>
> If it's mostly not intended to be used by humans, would it be reasonable
> to have it print a warning?
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 

gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170118/710d32fc/attachment.html>


More information about the Snapcraft mailing list