-
Feature Request
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
False
-
Undefined
-
-
-
-
The OpenShift platform / CRI-O should create customized entries into /etc/passwd.
The customer is deploying a web IDE to OCP and he gets an error because of a wrong entry inside /etc/passwd.
The problem is that the entry for the random user id mentions "/sbin/nologin". The debian-based image does not have that binary, it is located at "/usr/sbin/nologin".
To use a terminal inside the web IDE the /etc/passwd entry has to end with "/bin/bash"
How can the generation of that random UID entry be configured to end with "/bin/bash"?
Container Image: https://hub.docker.com/r/codercom/code-server/
Source Repo of the Image: https://github.com/cdr/code-server
Dockerfile of the Container Image: https://github.com/cdr/code-server/blob/main/ci/release-image/Dockerfile
The customer wants to be able to handle/configure the entries inside /etc/passwd from CRI-O during the building of the container image.