Is your feature request related to a problem? Please describe.
On Mac, there is a "Log Out" option, but on linux, following the official instructions, there is no easy way to figure out how to "log out"
I tried sudo apt remove --purge tailscale then reinstall, it still says "already authenticated, nothing to do"
Eventually I figured out I had to sudo rm -rf /var/lib/tailscale
Describe the solution you'd like
Be able to run command like so:
sudo tailscale up -h # find out what's there
sudo tailscale up -re-authenticate # prompt url to re-authenticate
Describe alternatives you've considered
I tried remove + purge the package, the /var/lib/tailscale/tailscaled.state seems to be the file left behind that contains the keys and tokens.
Random tailscale user here, but yeah. Deleting /var/lib/tailscale/tailscaled.state and then running tailscale up ...etc... is how I reauthenticate/reinstall a Linux device.
I don't recall what venue I learned this in, but it is a known shortcoming.
Duplicate of #274. Sorry, we're working on it :)
Maybe sudo tailscale down && sudo rm -rf /var/lib/tailscale && sudo tailscale up -force-auth or sudo tailscale down && sudo rm /var/lib/tailscale/tailscaled.state && sudo tailscale up -force-auth would work.
In newer versions, I don't think you should need to delete the files
anymore. Just tailscale up --force-reauth should work.
ᐧ
On Wed, Jan 6, 2021 at 2:02 AM Hoyeong Heo notifications@github.com wrote:
Maybe sudo tailscale down && sudo rm -rf /var/lib/tailscale && sudo
tailscale up -force-auth or sudo tailscale down && sudo rm
/var/lib/tailscale/tailscaled.state && sudo tailscale up -force-auth
would work.—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tailscale/tailscale/issues/367#issuecomment-755124488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFA4DJ2RNNN47JXSGBAFLSYQDI3ANCNFSM4M43R2AQ
.
--
Avery Pennarun // CEO @ Tailscale
Most helpful comment
Random tailscale user here, but yeah. Deleting /var/lib/tailscale/tailscaled.state and then running
tailscale up ...etc...is how I reauthenticate/reinstall a Linux device.I don't recall what venue I learned this in, but it is a known shortcoming.