summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authoryejingchen <ye.jingchen@gmail.com>2025-01-28 18:05:49 +0800
committerGitHub <noreply@github.com>2025-01-28 10:05:49 +0000
commit6f10fe8ab1f7d4f212610719a02c5b612575b858 (patch)
treef89f3cd8133b28b67f53bf255fa6db5cc520f1bc /control/controlhttp/controlhttpserver/controlhttpserver.go
parent079973de8280c23b7a3f74f6c2d0ac5b7d963d9d (diff)
downloadtailscale-6f10fe8ab1f7d4f212610719a02c5b612575b858.tar.xz
tailscale-6f10fe8ab1f7d4f212610719a02c5b612575b858.zip
cmd/tailscale: add warning to help text of `--force-reauth` (#14778)
The warning text is adapted from https://tailscale.com/kb/1028/key-expiry#renewing-keys-for-an-expired-device . There is already https://github.com/tailscale/tailscale/pull/7575 which presents a warning when connected over Tailscale, however the detection is done by checking SSH environment variables, which are absent within systemd's run0*. That means `--force-reauth` will happily bring down Tailscale connection, leaving the user in despair. Changing only the help text is by no means a complete solution, but hopefully it will stop users from blindly trying it out, and motivate them to search for a proper solution. *: https://www.freedesktop.org/software/systemd/man/devel/run0.html Updates #3849 Signed-off-by: yejingchen <ye.jingchen@gmail.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions