Closed 5uperpalo closed 1 year ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Support for sudo is handled by the container image, the KubeSpawner configuration only affects whether privilege escalation is allowed. With the docker-stacks image you'll need to start the image as root (UID 0) for sudo to work.
If you need more help please use the Jupyter community forum where more people can help https://discourse.jupyter.org/
Hi, I am sorry if this was described somewhere but I spent whole day and could not find it. I am using Z2JH on k8s. I am using jupyterhub in a research institution environment and I need to grant sudo access to users within their spawned machines. The
sudo
command became available after I includedc.KubeSpawner.allow_privilege_escalation = True
in the config; but I am still being asked for password when I dosudo
. I tried to includeGRANT_SUDO
env variable as it worked forsingleuser
, but nothing happened. Could anybody please help me? This is my config.yaml: