Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icingaweb2 RPM places apache user in icingaweb2 group #188

Open
basg opened this issue May 22, 2020 · 3 comments
Open

Icingaweb2 RPM places apache user in icingaweb2 group #188

basg opened this issue May 22, 2020 · 3 comments
Labels
package/icingaweb2 Concerns Icingaweb2

Comments

@basg
Copy link

basg commented May 22, 2020

It seems that RPM package icingaweb2 adds the user apache to groups icingacmd and icingaweb2.

$ rpm -q --scripts icingaweb2
preinstall scriptlet (using /bin/sh):
getent group icingacmd >/dev/null || groupadd -r icingacmd
usermod -a -G icingacmd,icingaweb2 apache
exit 0

If I'm correct, this should not be necessary, and may even impose a security risk.

@htriem htriem added the package/icingaweb2 Concerns Icingaweb2 label Sep 8, 2021
@htriem
Copy link
Contributor

htriem commented Sep 8, 2021

We need to test and verify this.

@prupert
Copy link

prupert commented Sep 9, 2021

Yes, please, there is absolutely no need for this. It may be an artifact from legacy mod_php setups using cmdpipe?

@yhabteab
Copy link
Member

yhabteab commented Apr 4, 2024

Yes, please, there is absolutely no need for this. It may be an artifact from legacy mod_php setups using cmdpipe?

It's not an artefact, all recent packages still add the Apache user to that group, as there may still be someone out there using cmdpipe instead of the API, even if it's already deprecated. However, we should consider in removing this from future releases, and if someone still uses cmdpipe, they will have to add it to that group themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package/icingaweb2 Concerns Icingaweb2
Projects
None yet
Development

No branches or pull requests

4 participants