httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "NonRootPortBinding" by FrancisGaliegue
Date Fri, 29 Apr 2011 14:39:04 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "NonRootPortBinding" page has been changed by FrancisGaliegue.
http://wiki.apache.org/httpd/NonRootPortBinding?action=diff&rev1=1&rev2=2

--------------------------------------------------

  You need to be root to do that, so first, be root. Then, add the capability to the httpd
binary:
  
  {{{
- setcap cap_net_bind_service=+ep /usr/sbin/httpd
+ root@myhost # setcap cap_net_bind_service=+ep /usr/sbin/httpd
  }}}
  
  Check that the capability is added:
@@ -44, +44 @@

  
  {{{
  root@myhost # cp -a /etc/httpd ~test/
- chown -R test ~test/httpd
+ root@myhost # chown -R test ~test/httpd
  }}}
  
  Then login as {{{test}}}. Modify the environment:

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message