Software >> Services >> HTTP Server >> Oracle HTTP Server >> How to allow Linux non-root user to run OHS to listen at prileved port below 1024

 

OHS 11g

Change owner of apachectl

   chown root $ORACLE_HOME/ohs/bin/.apachectl chmod 6750 $ORACLE_HOME/ohs/bin/.apachectl     

become the non-root OHS user and start from the bin directory of the instance.     

   ./opmnctl startall    


OHS 12c

 

To enable Oracle HTTP Server to listen on a port in the reserved range (for example,
the default port 80 or port 443) use the following one-time setup on each Oracle HTTP Server machine:

Update the ORACLE_HOME/ohs/bin/launch file by performing the following steps as the super user
(if you do not have access to super user privileges, have your system administrator perform
these steps):

Change ownership of the file to root:

    chown root $ORACLE_HOME/ohs/bin/launch

Change the permissions on the file as follows:

    chmod 4750 $ORACLE_HOME/ohs/bin/launch  

 

References

 

[1] https://docs.oracle.com/cd/E23943_01/web.1111/e10144/getstart.htm#HSADM849

[2] https://docs.oracle.com/middleware/12213/webtier/administer-ohs/getstart.htm#HSADM174