Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passwordless sudo for vagrant-hostsupdater does not work with GNU sed #46

Closed
oxyc opened this issue Jun 1, 2017 · 1 comment
Closed

Comments

@oxyc
Copy link
Collaborator

oxyc commented Jun 1, 2017

If the user replaces the default BSD sed with GNU sed through homebrew, the path will be /usr/local/bin/sed rather than /usr/bin/sed, and therefore the passwordless sudo wont work.

Disclaimer:
Personally it's always been confusing to me when the default tools on macos are a) waaay outdated and b) BSD versions rather than GNU versions which I'm used to from Linux (sed flags being particularly confusing in it's BSD version). To normalize my environments I update all builtin packages and switch to GNU when possible https://github.com/oxyc/mac-dev-playbook/blob/master/config.yml#L31:L68

@geerlingguy
Copy link
Owner

D'oh!

@oxyc oxyc closed this as completed Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants