Installing JUJU 2.0 as non-root user
Tom Barber
tom at analytical-labs.com
Thu Jun 2 11:00:14 UTC 2016
Hi Anita
Make sure you can run lxd images as your user. When you install lxd you
need to fully logout or su to create a new shell for that user so the lxd
group is picked up.
Tom
On 2 Jun 2016 11:46 a.m., "Anita Nayak1" <AnitaNayak at in.ibm.com> wrote:
> Hi All,
>
> We are trying to install JUJU 2.0 by following URL :
> https://jujucharms.com/docs/devel/getting-started
>
> While installing as non-root user, we got permission denied error for the
> following commands:
>
> juju bootstrap lxd-test lxd
> juju list-controllers
>
> charm at c277-pkvm-vm62:~$ juju bootstrap lxd-test lxd
> ERROR invalid config: can't connect to the local LXD server: Permisson
> denied, are you in the lxd group?
>
> Please configure LXD by running:
> $ newgrp lxd
> $ lxd init
>
> charm at c277-pkvm-vm62:~$ newgrp lxd
> Password:
> newgrp: failed to crypt password with previous salt: Invalid argument
>
> The above commands work with "sudo".
>
> However while installing as root user, the above command executions are
> successful.
>
> Can you please confirm that whether JUJU 2.0 can be installed as a root
> user only? If it can be installed as a non-root user, then please let us
> know how to resolve the above mentioned errors.
>
> Thanks & Regards,
> Anita.
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160602/c2b4fe0a/attachment.html>
More information about the Juju
mailing list