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

Allow vagrant user NOPASSWD sudo to all accounts #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vortura
Copy link

@vortura vortura commented Dec 19, 2014

At the moment, the vagrant user can run any command as root without a password, but to run commands as any other user requires a password. This commit allows the vagrant user to run any command as any user with no password. This is achieved by adding an ALL Runas_Spec to the entry in /etc/sudoers.d/vagrant.

Add an 'ALL' Runas_Spec to the sudoers.d/vagrant entry to allow the
vagrant account to run any command as any user, rather than just as the
root user.

Having amended this entry, there is no longer a need to add the vagrant
account to the sudo group which allows execution of any command as any
user WITH a password.
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.

1 participant