Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

use tee to maintain sudo permission for append #18

Merged
merged 1 commit into from
Jul 8, 2018

Conversation

hayfever
Copy link
Contributor

@hayfever hayfever commented Jul 8, 2018

when setting mb_privileged_user to a non root user, the provision command will fail when appending to the user's sudoers file since redirects aren't performed by sudo. tee is available in both xenial and bionic and will allow for non root users to append to their sudoers file.

@mattbrictson
Copy link
Owner

Excellent, thanks for the PR! 🙌

@mattbrictson mattbrictson merged commit 66f8f9f into mattbrictson:master Jul 8, 2018
mattbrictson added a commit that referenced this pull request Jul 8, 2018
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.

2 participants