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 support for -u argument to run WSL commands as something besides root #33

Merged
merged 4 commits into from
Jan 25, 2022

Conversation

paaland
Copy link
Contributor

@paaland paaland commented Jan 20, 2022

I run WSL as a non-root user. This PR adds support for setting $WslDefaultParameterValues["-u"] = "<username>" in $PROFILE to run WSL commands as the given user instead of root.

@mikebattista mikebattista self-assigned this Jan 25, 2022
@mikebattista mikebattista merged commit 879c3c6 into mikebattista:master Jan 25, 2022
@mikebattista
Copy link
Owner

Thanks for the contribution!

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.

2 participants