Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to use juju on a shared remote machine (ie: or Is that possible? And if so, how would you do it?

share|improve this question
up vote 2 down vote accepted

If you're referring to using the juju client commands (IE, juju deploy, juju bootstrap, etc) None of those commands require sudo at the moment. The new "local" provider for juju will require sudo power, but that's only if you're doing a local LXC deployment.

On the remote side of things, the juju-agent does require and run as root.

I'm not entirely sure how either part of juju would fit in to the shared machine model of or (Are you going to have those IDEs drive Juju?). If you're looking for integration points with those services, the juju client is set up in such a way that you can do that (have a unique $JUJU_HOME for each user where they can maintain their own environments.yaml, etc). I haven't attempted integration personally but it there shouldn't be too much to change in order to do so.

If you're trying to deploy services to a shared machine as a regular user that likely will not work.

share|improve this answer
Ok, it was easy after I found this README: . I just wanted the client tools and was able to get that working following the instructions in that README. – Travis R Jul 19 '13 at 17:47
I'm not sure who that is, but you'll likely want the official github mirror: or the lp project: – Marco Ceppi Jul 19 '13 at 18:27
Ahh, didn't know there was an official mirror, thanks. Launchpad is way too confusing, even if you can find the README (which is hard enough), it's hard to read. – Travis R Jul 19 '13 at 18:33
That mirror is refreshed every few hours, so it's not a one-to-one sync, but if you like github then and are the accounts to follow! – Marco Ceppi Jul 19 '13 at 19:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.