Skip to content

teleport service as non-root #11485

Answered by webvictim
KasperSkytte asked this question in Q&A
Discussion options

You must be logged in to vote

You can run the Teleport auth and proxy services as a non-root user without any trouble (as long as you grant read/write permissions on /var/lib/teleport to that user as you mentioned). Other Teleport agent services (like Kubernetes/Database/Application/Windows Desktop access) can also be run as a non-root user without any issues.

The one exception is that you can't run the Teleport node service (ssh_service) as a non-root user because it may need to spawn a shell as any user logging into the node (which could be root). It may be possible to work around this with capabilities/setuid, but I haven't ever tried it.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webvictim
Comment options

You must be logged in to vote
1 reply
@webvictim
Comment options

Comment options

You must be logged in to vote
5 replies
@webvictim
Comment options

@developer-guy
Comment options

@developer-guy
Comment options

@webvictim
Comment options

@developer-guy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants