Troubleshoot Linux operator permission
Last validated: View as Markdown
The Tailscale daemon (tailscaled) typically runs as the root user, and so only root can manage the daemon. To allow a different user to manage Tailscale, set the user as the operator using the tailscale set command:
sudo tailscale set --operator=<USERNAME>
The operator can manage Tailscale without sudo, including Serve and Funnel port targets. Serving a file, directory, or Unix socket with tailscale serve or tailscale funnel still requires root. Run those commands with sudo.