Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie trying to set up Tomcat



Running tomcat using sudo will STILL run the process as root. In fact every solution mentioned runs it as root. The only difference is that you didn't interactively login as root. (another words the method to "get" root is different but the effect is the same)

sudo
su
or even a bundle/startup script all mean the service runs as root.

Apache HTTPD starts as root to bind to port 80 and then drops privileges provided you tell it to run as another user in the config file. The problem is that there isn't a way to do that in Java code that i'm aware of.

Essentially things like modjk just act as a proxy on port 80 for certain types of requests that are mapped to it. Basically its the same diff as port forwarding.

Lucas Holt
email@hidden
________________________________________________________
FoolishGames.com (Jewel Fan Site)
JustJournal.com (Free blogging)

'I try to think but nothing happens'
-- Homer Jay Simpson
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Newbie trying to set up Tomcat (From: Wade Peeler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.