Re: create-user primitive

2017-01-23 Thread Gustavo Niemeyer
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 wrote: > > > On Wed, Jan 18, 2017 at 4:33 AM, Gustavo Niemeyer > wrote: > >> Don't se

Re: create-user primitive

2017-01-18 Thread Manik Taneja
On Wed, Jan 18, 2017 at 4:33 AM, Gustavo Niemeyer 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 doo

Re: create-user primitive

2017-01-18 Thread Gustavo Niemeyer
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 --f

Re: create-user primitive

2017-01-17 Thread Manik Taneja
On Tue, Jan 17, 2017 at 4:01 PM, Michael Hudson-Doyle < michael.hud...@canonical.com> wrote: > On 18 January 2017 at 12:13, Manik Taneja wrote: > >> >> >> On Tue, Jan 17, 2017 at 1:30 PM, Michael Hudson-Doyle < >> michael.hud...@canonical.com> wrote: >>> >>> >>> Well snap create-user is mostly th

Re: create-user primitive

2017-01-17 Thread Michael Hudson-Doyle
On 18 January 2017 at 12:13, Manik Taneja wrote: > > > On Tue, Jan 17, 2017 at 1:30 PM, Michael Hudson-Doyle < > michael.hud...@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! >> > than