joeferner / redis-commander

Redis management tool written in node.js
http://joeferner.github.io/redis-commander/
MIT License
3.56k stars 460 forks source link

SERVICE_USERS added to root group #524

Closed dima-aronov closed 1 year ago

dima-aronov commented 1 year ago

In the context of the dockerfile, the command " adduser "${SERVICE_USER}" -h "${HOME}" -G root -S -u 10000 " The SERVICE_USER is added to the root group which may pose a potential risk. Would it be possible to change the group to {SERVICE_USER} or any other lower privilege user.

Thanks !

sseide commented 1 year ago

No, it is no security risk and needed to be able to run inside OpenShift without any problem. You can read more about it here:

Within linux systems group "root" does not give you any additional access rights. Here systems use "wheel" or "adm" group for this.