Closed deepio-oc closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
this looks like is intentional because of following line in dockerfile:
echo 'hosts: files dns' > /etc/nsswitch.conf
Without password/shadow entries in /etc/nsswitch.conf, we are not able to fetch entries from sssd. If this is required for some scenario, then maybe backup can be kept in /etc.
We specifically make this modification for DinD compatibility: https://github.com/linuxserver/docker-baseimage-kasmvnc#kasmvnc-base-images-from-linuxserver It is needed for the DinD hack and is applied across the board to all the GUI images. (when you run these images in priv mode they fire up Docker in Docker) To be frank I am not 100% certain of the external consequences, can you explain what this breaks ?
We use this webtop image as base for our VNC server. We added multi-user support using SSSD (SSSD talks to AD to fetch users). For SSSD to work, we need following in /etc/nsswitch.conf
passwd: files sss
This is automatically done when we install libnss-sss package but this is broken with recent changes since there is no passed entry anymore.
You could pretty easily have an init mod add that to the file: https://github.com/linuxserver/docker-mods/
This container was never designed with multi user support in mind, it's main goal is to automate the delivery of a Linux desktop to a web browser for a single user.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Is there an existing issue for this?
Current Behavior
the nsswitch file in previous version had following:
But in recent docker images, it now has:
Expected Behavior
The nsswitch file should not be modified from the base ubuntu image.
Steps To Reproduce
Environment
Docker creation
Container logs