Skip to content

Run code-server with non root user #676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
maxorlovsky opened this issue May 11, 2019 · 1 comment
Closed

Run code-server with non root user #676

maxorlovsky opened this issue May 11, 2019 · 1 comment

Comments

@maxorlovsky
Copy link

maxorlovsky commented May 11, 2019

Description

I've set up code-server to run through services and I given all of my files and code-server files permission to run as non-root user.
I run non-docker version.

But when I enter URL to enter online-vscode and open terminal, by default it set user as root@* and not user@*.
Is there a way to achieve that? I didn't found answer to this problem in other Issues.

@maxorlovsky
Copy link
Author

Ok, found an option. It's not actually related to code-server itself, but to ubuntu, that I'm running code-server on. Just before running code server, you can specify it from which user to initiate it. with su -c.
So closing of this question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant