smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

Incorrect shell set for consul and rabbitmq users #22

Closed matthewvalimaki closed 8 years ago

matthewvalimaki commented 8 years ago

New users are created for alpine-consul and alpine-rabbitmq. While these accounts do work su - consul resulted in su: can't execute ':60:60:mysql:/var/lib/mysq': No such file or directory, see wrong shell. So new users defaulted to mysql for whatever reason. While I do not want to su - consul for any legitimate reason having a wrong shell is still a problem. This can be easily fixed by adding -s /bin/sh to the adduser command.

smebberson commented 8 years ago

@matthewvalimaki, this would be a great fix. That stupid issue plagued me! I'll work on it once I get this repo in shape.

smebberson commented 8 years ago

As a result of PR #34, this has been fixed alpine-consul. alpine-rabbitmq will be coming soon :)

smebberson commented 8 years ago

As a result of the latest commits, this has now been fixed in alpine-rabbitmq.