You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: sporadically, when something breaks in my WSL, I need to do a one-time as-root run to do some fixes etc. This currently requires running wsldl config --default-user root, doing the fix and then switching back to my regular user.
It would be convenient if wsldl run had a --user flag to temporarily select a different user for a single session.
The text was updated successfully, but these errors were encountered:
I wanted to take a stab at making a PR, but I can't find any way to select user id/name per run in the windows API. There must be some way though, since you can run wsl -u <name> 🤔
Use case: sporadically, when something breaks in my WSL, I need to do a one-time as-root run to do some fixes etc. This currently requires running
wsldl config --default-user root
, doing the fix and then switching back to my regular user.It would be convenient if
wsldl run
had a--user
flag to temporarily select a different user for a single session.The text was updated successfully, but these errors were encountered: