ACL Use linux users as mulitple users support ( Not live code sharing with multiple users )
See original GitHub issueI know what there is feature request about “Multiple User Support” but all of them asking Live Coding with multiple users, what I’m promoting here is, to allow multiple login/users with their own ACLs, to restrict some users only edit some folders I think this feature easy to implement rather than LiveCoding with multiple users same file,
The easiest way is to use Linux User managment system(ACL), so when users logs in to code-server, it will ask linux user credentials,
Ex; config.yaml
bind-addr: 127.0.0.1:8080
auth: linuxManaged
cert: false
After that admin will create and configure acl inside linux, and code-server will work under that user Example how it will work
Issue Analytics
- State:
- Created 3 years ago
- Reactions:13
- Comments:8 (5 by maintainers)
Top Results From Across the Web
ACL Use linux users as mulitple users support ( Not live code ...
I know what there is feature request about "Multiple User Support" but all of them asking Live Coding with multiple users,
Read more >An introduction to Linux Access Control Lists (ACLs) - Red Hat
ACLs allow us to apply a more specific set of permissions to a file or directory without (necessarily) changing the base ownership and ......
Read more >POSIX Access Control Lists on Linux - USENIX
ACLs are supported on different file system types on almost all UNIX-like ... the access privileges of all users that are not in...
Read more >Sharing your nodes with other users - Tailscale
Sharing lets you give another Tailscale user access to a private device within your network, without exposing it publicly.
Read more >Sharing Data with Other Users | Princeton Research Computing
Access control lists or ACLs allow you to go well beyond what is possible with group-readable directories. This is essential when not all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I installed code-sever last night on an EC2 for a test to replace nuclide-remote server.
My main issues that it did not seem to have initially were:
So i invoked multiple instances of code server and it appeared to work with multiple users - all building mid / large angular code bases at the same time, seemed relatively ok - having a separate instance built using teraform sounds good - i saw a git report for that but just more management and having to change our workflow now is difficult
using the same IP - i opened 2 sessions / users of vscode - via code-server - each had a different port. the yaml password set would work with the correct port and not with the other.
is this relatively secure even if resource inefficient from a instance point of view?
Love some feedback on this and if any one else is using it for the above case.
One thing I have been playing with was putting the code-server inside of a systemd based container vs docker. This way I could have it listen to a socket and launch a new session. The only issue I had was reconnecting. I am looking at https://www.pomerium.io/ to possibly spin up dockers on the fly. Sadly as I look into this more it ends up looking like the monster that eclipse che had become. The nice thing about code-server is that it can “scale down” very well. I think “scaling up” might be better served as an external project though.
edit: This is where i started from: https://blog.developer.atlassian.com/docker-systemd-socket-activation