tailscale/ipn/localapi
Andrew Lytvynov 9b158db2c6
ipn/localapi: require root or sudo+operator access for SetServeConfig (#10142)
For an operator user, require them to be able to `sudo tailscale` to use
`tailscale serve`. This is similar to the Windows elevated token check.

Updates tailscale/corp#15405

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2023-11-07 12:31:33 -08:00
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 2023-10-12 16:02:45 -07:00
debugderp.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go ipn/localapi: require root or sudo+operator access for SetServeConfig (#10142) 2023-11-07 12:31:33 -08:00
localapi.go ipn/localapi: require root or sudo+operator access for SetServeConfig (#10142) 2023-11-07 12:31:33 -08:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00