How to use setcap cap_net_bind_service with JBCS Apache httpd 2.4?

Solution Verified - Updated -

Issue

Apache httpd is configured to run with non-root user. To run Apache httpd with port 80, it was used the following command:

setcap cap_net_bind_service=+ep /opt/apache/jbcs-httpd24-2.4/httpd/sbin/httpd

But after this configuration, Apache httpd does not take the configuration from LD_LIBRARY_PATH.

Environment

  • Red Hat JBoss Core Service (JBCS) 2.x
    • Apache httpd 2.4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content