The Shibboleth V2 IdP and SP software have reached End of Life and are no longer supported. This documentation is available for historical purposes only. See the IDP v4 and SP v3 wiki spaces for current documentation on the supported versions.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Configuring Debian or Ubuntu To Run a Servlet Container as Non-Root

Tomcat 6

For recent releases of Debian and Ubuntu the tomcat6 package includes a dependency on the authbind package and a default authbind configuration that allows the Tomcat 6 container to bind to ports < 1024.

To leverage the authbind configuration edit the Tomcat 6 configuration file /etc/default/tomcat6 and set

AUTHBIND=yes

See also the man page for authbind.

For example binding to port 443 one would need:

touch /etc/authbind/byport/443
chmod 0755 /etc/authbind/byport/443 
chown tomcat6:tomcat6 /etc/authbind/byport/443 

 

 

  • No labels