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

Enable passwordless sudo for tests #80

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

legal90
Copy link
Contributor

@legal90 legal90 commented Nov 4, 2016

It fixes #78

In #75 we've forced RHEL/CenOS platforms to be provisioned with sudo::default in order to add test users, such as "vagrant" and "kitchen", to /etc/sudoers. But that's not enough - we should also enable passwordless sudo for them.

Before:

# /etc/sudoers
#...
kitchen ALL=(ALL)
vagrant ALL=(ALL)

After:

# /etc/sudoers
#...
kitchen ALL=(ALL) NOPASSWD:ALL
vagrant ALL=(ALL) NOPASSWD:ALL

@legal90 legal90 merged commit 396543f into sous-chefs:master Nov 4, 2016
@legal90 legal90 deleted the fix-sudoers branch November 4, 2016 10:19
@lock
Copy link

lock bot commented May 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CentOS-* kitchen tests fail w/ sudo issue
1 participant