-
Notifications
You must be signed in to change notification settings - Fork 799
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
autoProxy=true doesn't work for multiple users via su or ssh #10820
Comments
@mio-19 you might want to look at these
Basically, preserve the environment when su-ing! |
Could you please follow the steps below and attach the diagnostic logs? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues |
I don't think networking logs would be useful for this issue |
2.0.14.0 version also has the problem. |
This is not a wsl problem, you must configure su/sudo tu propagate env from your user when doing sudo:
With su you could pass |
Windows Version
Microsoft Windows [Version 10.0.22631.2715]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-microsoft-standard-WSL2
Distro Version
Arch
Other Software
No response
Repro Steps
autoProxy=true
su -l
into another userExpected Behavior
Env for other users
Actual Behavior
no
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: