brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: SoftwareProcess.dontRequireTtyFor...
Date Wed, 02 Dec 2015 20:58:52 GMT
Github user aledsage commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1071#issuecomment-161432178
  
    @ahgittin problems were reported when using `BashCommands.dontRequireTtyForSudo()` on
a RHEL environment - the sed command had left `/etc/sudoers` wrong, so it was then impossible
for anyone to sudo - i.e. we'd entirely broken the VM.
    
    Unfortunately I'm not sure what the original `/etc/sudoers` file looked like, such that
our `sed` command would break it.
    
    But it highlighted that we were following *very* bad practices by modifying the file directly;
switching to `visudo` is definitely the right thing to do.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message