MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.92k stars 579 forks source link

Add to section information to reset the default user after importing a WSL distro #1965

Closed adriantorrie closed 4 months ago

adriantorrie commented 5 months ago

Type of issue

Missing information

Feedback

For the section related to moving a WSL distro, please also include the information to set the default user, or at least a reference and link to Advanced settings configuration in WSL: User settings.

I had to hunt around StackOverflow to find the finishing touches to move my WSL2 distro.

The example in the "Advanced setttings" also has an example wsl.conf with the section:

# Set the user when launching a distribution with WSL.
[user]
default = DefaultUser

This information could be directly included here.

Page URL

https://learn.microsoft.com/en-us/windows/wsl/faq

Content source URL

https://github.com/MicrosoftDocs/wsl/blob/main/WSL/faq.yml

Author

@craigloewen-msft

Document Id

156d9535-c2a5-bc8d-af24-342a13832abf

craigloewen-msft commented 4 months ago

Made a PR here! https://github.com/MicrosoftDocs/WSL/pull/1982

mattwojo commented 4 months ago

Merged: https://github.com/MicrosoftDocs/WSL/pull/1982