I am starting to investigate https://hub.docker.com/r/trampgeek/jobeinabox
And, this is pretty much the first thing I have done with Docker, so please excuse my ignorance.
Why set a root password in the Dockerfile? Thanks.
Good question! I couldn't think of a reason, and neither could my collaborator Julius Hoedjes, who knows more about docker than me. He has modified the dockerfile and documentation to omit the root password and we've pushed that to github and docker hub.
In my understanding, the absence of a root password in Ubuntu prevents anyone logging in as root, so it improves the security. The only path to running commands as root is sudo, which is tightly locked down by the sudoers file. In Jobe, only the webserver can use sudo and then only with 4 very specific commands required for control of a jobe task.
Can your contact give us an example of an exploit that is enabled by the absence of a root password, please?