You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by ygy <no...@github.com> on 2015/07/27 19:44:04 UTC

[jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

This PR provides an extension to the default sudo configuration to address the issue described in [JCLOUDS-973](https://issues.apache.org/jira/browse/JCLOUDS-973) via
- Adding env_reset to the default configuration in /etc/sudoers 
- Adding secure_path to the default configuration in /etc/sudoers
- secure_path value is
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/827

-- Commit Summary --

  * JCLOUDS-973 Extending the sudo's configuration

-- File Changes --

    M compute/src/test/resources/initscript_with_java.sh (2)
    M compute/src/test/resources/initscript_with_jetty.sh (2)
    M compute/src/test/resources/runscript_adminUpdate.sh (2)
    M scriptbuilder/src/main/java/org/jclouds/scriptbuilder/statements/login/Sudoers.java (7)
    M scriptbuilder/src/test/java/org/jclouds/scriptbuilder/statements/login/SudoStatementsTest.java (2)
    M scriptbuilder/src/test/resources/test_adminaccess_flipped.sh (2)
    M scriptbuilder/src/test/resources/test_adminaccess_params.sh (2)
    M scriptbuilder/src/test/resources/test_adminaccess_params_and_fullname.sh (2)
    M scriptbuilder/src/test/resources/test_adminaccess_standard.sh (2)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/827.patch
https://github.com/jclouds/jclouds/pull/827.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827

Re: [jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

Posted by Andrea Turli <no...@github.com>.
thanks @nacx 

backport to [1.9.x](https://git1-us-west.apache.org/repos/asf?p=jclouds.git;a=commit;h=c6f2d846)


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827#issuecomment-148671800

Re: [jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

Posted by Ignasi Barrera <no...@github.com>.
Sure!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827#issuecomment-148661665

Re: [jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

Posted by Ignasi Barrera <no...@github.com>.
Closed #827.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827#event-397215843

Re: [jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

Posted by Andrea Turli <no...@github.com>.
@nacx it would be really useful to have it backported to 1.9.x
is it ok?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827#issuecomment-148659573

Re: [jclouds] JCLOUDS-973 Extending the sudo's configuration (#827)

Posted by Ignasi Barrera <no...@github.com>.
Pushed to master as [d45f08e8](http://git-wip-us.apache.org/repos/asf/jclouds/commit/d45f08e8). Thanks for the fix and apologies for the delay!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/827#issuecomment-136525277