I have no name! #541
-
|
I'm using containerSSH to allow users to ssh into a shared server without giving them direct access to the host itself. Each user has a valid user account and UID on the host. ContainerSSH authenticates them and then chooses which host directories to mount inside the container and launches the container with their UID . It's working well, except their username is not listed in I can't seem to run Any suggestions on how to get their username into |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hey @jmcclelland, There are several solutions:
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much! This is really helpful - i think the init script that starts the ContainerSSH agent is the way to go. I assume that it is run as root and that the ContainerSSH agent drops privileges? |
Beta Was this translation helpful? Give feedback.
Hey @jmcclelland,
There are several solutions:
/etc/passwdusing a volume on anemptyDiror similar.agentPathaccordingly.)