Related to
WARP
What is the issue you’re encountering
I am getting an error that Teams enroll isn’t supported for root user.
What steps have you taken to resolve the issue?
I need cloudflare warp to be deployed at few user’s pc as root user. They don’t have any user’s on those VPS’s. It’s because we had a lot of trouble regarding permissions for folders, so we decided that those users can install and run apps & dockers as root user itself.
Earlier, I had used following command to enroll:
warp-cli teams-enroll-token “https://.cloudflareaccess.com/auth?token=$cloudflare_token”
But it no longer works. So I attempted using below command:
warp-cli registration initialize-token-callback “https://myteam.cloudflareaccess.com/auth?token=XXXXX
This one gives me error: unexpected argument error.
Simply trying “warp-cli register” gives me message that root user cannot be enrolled and need to switch to some user:
Teams enrollment as root not supported. Please re-run the command as a regular user.
I am new to Ubuntu but afaik, if I run Warp as a user, any and all process running in root will not have their traffic routed via Warp.
I don’t mind switching to an older version which supported teams enroll but not sure how to do that. This is a headless VPS on DigitalOcean.
Pls help.