cocalc-docker icon indicating copy to clipboard operation
cocalc-docker copied to clipboard

How to setup a system wide proxy configuration for all users ?

Open mperreir opened this issue 4 years ago • 3 comments

Hello,

I'm trying to get all my users fetch our proxy config automatically so that they can for example "git pull" without additional configuration. I've tried adding some line in /etc/environnement or adding /etc/profile.d/proxy configuration file in the docker container but it does not get propagated to cocalc users (even if it works when I directly log into the docker container).

/etc/skel could be a solution for new users (modifying the template for .bashrc for example) but it would not do anything for existing users :-(

Has any of you already faced that problem ?

mperreir avatar Oct 02 '20 13:10 mperreir

This seems like a general Linux question.

williamstein avatar Mar 15 '23 14:03 williamstein

Well not really because what works on a usual Linux OS (outside of the Cocalc docker container) does not in the container :-).

mperreir avatar Mar 15 '23 15:03 mperreir

OK, re-opening!

williamstein avatar Mar 15 '23 16:03 williamstein