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

Specifying username to wsl command #48

Open
usonianhorizon opened this issue Apr 22, 2020 · 0 comments
Open

Specifying username to wsl command #48

usonianhorizon opened this issue Apr 22, 2020 · 0 comments

Comments

@usonianhorizon
Copy link

usonianhorizon commented Apr 22, 2020

Forgive me if this is a naive question, but I cannot seem to find the answer:

I am looking to pass the --user <username> to the wsl command as I am using wslbridge via ConEmu. Is there a way to do that?

In my case, I installed a fresh distro, but wanting it on its own partition (not C:), immediately exported and imported at the new drive location. As a consequence, the <distroname>.exe command config --default-user <defaultuser> is no longer available; I must set the new distro as default using WSL rather than run the <distroname>.exe. Even otherwise, I will likely have to have multiple users to match upstream production environments, and would like to be able to switch between them on invocation.

advTHANKSance

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

No branches or pull requests

1 participant