mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
98f21354c6
WinTun is installed lazily by tailscaled while it is running as LocalSystem. Based upon what we're seeing in bug reports and support requests, removing WinTun as a lesser user may fail under certain Windows versions, even when that user is an Administrator. By adding a user-defined command code to tailscaled, we can ask the service to do the removal on our behalf while it is still running as LocalSystem. * The uninstall code is basically the same as it is in corp; * The command code will be sent as a service control request and is protected by the SERVICE_USER_DEFINED_CONTROL access right, which requires Administrator. I'll be adding follow-up patches in corp to engage this functionality. Updates https://github.com/tailscale/tailscale/issues/6433 Signed-off-by: Aaron Klotz <aaron@tailscale.com> |
||
---|---|---|
.. | ||
childproc | ||
debug.go | ||
depaware.txt | ||
generate.go | ||
install_darwin.go | ||
install_windows.go | ||
manifest_windows_386.syso | ||
manifest_windows_amd64.syso | ||
manifest_windows_arm64.syso | ||
manifest_windows_arm.syso | ||
proxy.go | ||
required_version.go | ||
ssh.go | ||
taildrop.go | ||
tailscaled_bird.go | ||
tailscaled_notwindows.go | ||
tailscaled_test.go | ||
tailscaled_windows.go | ||
tailscaled.defaults | ||
tailscaled.go | ||
tailscaled.openrc | ||
tailscaled.service | ||
windows-manifest.xml | ||
with_cli.go |