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

add config value to set full path to cp on POSIX systems #119

Closed
wants to merge 1 commit into from

Conversation

lasse-aagren
Copy link

to be able to set a Cmnd_Alias to something like /bin/cp /home/user/.vagrant.d/tmp/hosts.local /etc/hosts the command needs to be called with this exact same path, and not only by cp(sudo security dictates that full path to binaries must be given).

Furthermore cp might live in different locations on different systems.

This pull request is my suggestion on how to fix that. I hope it is useful :)

/Lasse

…mnd_Alias in sudoers can be set to this, and also to accommodate different locations of cp on different systems.
@seth-reeser
Copy link
Member

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

Successfully merging this pull request may close these issues.

None yet

2 participants