Hello,
I am running a web app in a docker container and want to block/disable root access. The container is meant to be ephemeral and black box (at least as much as possible)
Currently I have installed a puppet agent and have the user resource shell set to '/sbin/nologin', but it is not working.
Running 'puppet resource user root' I have verified that the shell has been changed to '/sbin/nologin' but I can still get to a root shell.
I have restarted the container and still have access.
Does anybody know how to restrict access to the root shell for docker using puppet?
↧