You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2015/10/19 19:11:35 UTC
[1/2] incubator-brooklyn git commit: Add description for configuring
passwordless sudo to localhost location.
Repository: incubator-brooklyn
Updated Branches:
refs/heads/master 57d101817 -> d8ce6cf2a
Add description for configuring passwordless sudo to localhost location.
The current Locations page provides information on setting up passwordless SSH
and says that passwordless sudo is required, but does not tell the user how to setup.
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/6bcd0ae0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/6bcd0ae0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/6bcd0ae0
Branch: refs/heads/master
Commit: 6bcd0ae0155f25a997950438320701997be618fb
Parents: 388668a
Author: lloyddave <da...@lloyds.org.uk>
Authored: Mon Oct 19 17:42:44 2015 +0100
Committer: lloyddave <da...@lloyds.org.uk>
Committed: Mon Oct 19 17:42:44 2015 +0100
----------------------------------------------------------------------
docs/guide/ops/locations/index.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6bcd0ae0/docs/guide/ops/locations/index.md
----------------------------------------------------------------------
diff --git a/docs/guide/ops/locations/index.md b/docs/guide/ops/locations/index.md
index 6cb5ec3..6920b0a 100644
--- a/docs/guide/ops/locations/index.md
+++ b/docs/guide/ops/locations/index.md
@@ -357,6 +357,18 @@ brooklyn.location.localhost.privateKeyPassphrase=s3cr3tPASSPHRASE
If you encounter issues or for more information, see [SSH Keys Localhost Setup](ssh-keys.html#localhost-setup).
+If you are normally prompted for a password when executing `sudo` commands, passwordless `sudo` must also be enabled. To enable passwordless `sudo` for your account, a line must be added to the system `/etc/sudoers` file. To edit the file, use the `visudo` command:
+{% highlight bash %}
+sudo visudo
+{% endhighlight %}
+Add this line at the bottom of the file, replacing `username` with your own user:
+{% highlight bash %}
+username ALL=(ALL) NOPASSWD: ALL
+{% endhighlight %}
+If executing the following command does not ask for your password, then `sudo` should be setup correctly:
+{% highlight bash %}
+sudo ls
+{% endhighlight %}
### BYON
[2/2] incubator-brooklyn git commit: This closes #968
Posted by al...@apache.org.
This closes #968
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/d8ce6cf2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/d8ce6cf2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/d8ce6cf2
Branch: refs/heads/master
Commit: d8ce6cf2ad886ef2385c35d6be84ee9abd708d96
Parents: 57d1018 6bcd0ae
Author: Aled Sage <al...@gmail.com>
Authored: Mon Oct 19 18:11:24 2015 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Mon Oct 19 18:11:24 2015 +0100
----------------------------------------------------------------------
docs/guide/ops/locations/index.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------