RE: Tomcat in port 80 and Debian

2013-02-07 Thread Brett Delle Grazie
On 6 Feb 2013 14:06, "Caldarale, Charles R" 
wrote:
>
> > From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com]
> > Subject: Re: Tomcat in port 80 and Debian
>
> > > This topic is mentioned in the FAQ,
> > >
http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F
>
> > Another alternative to those in the FAQ is to use the jsvc binary
>
> Actually, jsvc is the _first_ thing mentioned in the above FAQ, with a
link to the complete documentation on the package.

You're absolutely correct, my mistake. I missed that when scanning the FAQ
somehow :) that will teach me to respond at the bus stop on a mobile

>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail and
its attachments from all computers.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


RE: Tomcat in port 80 and Debian

2013-02-06 Thread Caldarale, Charles R
> From: Brett Delle Grazie [mailto:brett.dellegra...@gmail.com] 
> Subject: Re: Tomcat in port 80 and Debian

> > This topic is mentioned in the FAQ,
> > http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F

> Another alternative to those in the FAQ is to use the jsvc binary

Actually, jsvc is the _first_ thing mentioned in the above FAQ, with a link to 
the complete documentation on the package.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat in port 80 and Debian

2013-02-06 Thread Brett Delle Grazie
On 5 Feb 2013 10:58, "Konstantin Kolinko"  wrote:
>
> 2013/2/5 Roberto :
> > Hi,
> >
> > I need help with a seemingly trivial question: How to make tomcat use
> > port 80.
> >
> > I have fresh Debian 6.0.6/64 bit install, with Tomcat 6 installed.
> > Following some messages, I found in Debian a setting in
> > /etc/default/tomcat that would solve my problem, which is setting
> > AUTHBIND=yes. The problem is that a comment immediately before this says
> > that this is only recommended for IPv4, not to be used for IPv6. But
> > these days, IPv6 is a requirement. All my servers have IPv6 in
> > production, and I will not/want not to install a brand new server that
> > works only in IPv4.
> >
> > Running Tomcat as root is also not an option, for security concerns. So,
> > how should I proceed to make Tomcat listen on port 80? Set iptables to
> > redirect port 80 to 8080? Some other path? Could someone point me to the
> > proper document/manual?
>
> This topic is mentioned in the FAQ,
>
http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F
>

Another alternative to those in the FAQ is to use the jsvc binary which
will allow you to bind to port 80. This starts as root to bind to the port
and then lowers its privileges to that of the specified user.

I'm on a mobile so no links at the moment. I believe a package exits for
this in Debian.

Btett
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


Re: Tomcat in port 80 and Debian

2013-02-05 Thread Konstantin Kolinko
2013/2/5 Roberto :
> Hi,
>
> I need help with a seemingly trivial question: How to make tomcat use
> port 80.
>
> I have fresh Debian 6.0.6/64 bit install, with Tomcat 6 installed.
> Following some messages, I found in Debian a setting in
> /etc/default/tomcat that would solve my problem, which is setting
> AUTHBIND=yes. The problem is that a comment immediately before this says
> that this is only recommended for IPv4, not to be used for IPv6. But
> these days, IPv6 is a requirement. All my servers have IPv6 in
> production, and I will not/want not to install a brand new server that
> works only in IPv4.
>
> Running Tomcat as root is also not an option, for security concerns. So,
> how should I proceed to make Tomcat listen on port 80? Set iptables to
> redirect port 80 to 8080? Some other path? Could someone point me to the
> proper document/manual?

This topic is mentioned in the FAQ,
http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org