brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [1/2] incubator-brooklyn git commit: Add description for configuring passwordless sudo to localhost location.
Date Mon, 19 Oct 2015 17:11:35 GMT
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.


Branch: refs/heads/master
Commit: 6bcd0ae0155f25a997950438320701997be618fb
Parents: 388668a
Author: lloyddave <>
Authored: Mon Oct 19 17:42:44 2015 +0100
Committer: lloyddave <>
Committed: Mon Oct 19 17:42:44 2015 +0100

 docs/guide/ops/locations/ | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/docs/guide/ops/locations/ b/docs/guide/ops/locations/
index 6cb5ec3..6920b0a 100644
--- a/docs/guide/ops/locations/
+++ b/docs/guide/ops/locations/
@@ -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 %}
+{% endhighlight %}
+If executing the following command does not ask for your password, then `sudo` should be
setup correctly:
+{% highlight bash %}
+sudo ls
+{% endhighlight %}
 ### BYON

View raw message