Re: root vrs appserver

Robert Walker <[email protected]> Tue, 1 Nov 2005 17:21:38 -0500
Newsgroups gmane.comp.web.webobjects.devel,gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
> I read a suggestion that if i change the owner of the following 2  
> files to System, javamonitor will run as root:

Why would you want this?  The whole reason they changed to appserver  
is so that it would NOT run as root.  There is no reason for  
JavaMonitor and wotaskd to run as root.  You're just opening up  
yourself to attacks.  A better solution is to make sure all the  
correct permissions (for appserver) are set on any resources you need  
to access.

On Nov 1, 2005, at 4:02 PM, Doug Andrews wrote:

> Is there anyway to control what user JavaMonitor runs as?
>
> On 10.3 and 10.4 it runs as appserver.
> I read a suggestion that if i change the owner of the following 2  
> files to System, javamonitor will run as root:
>
> /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
> and
> System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/ 
> Resources/javawoservice.sh
>
> This is for 10.3, not 10.4
> I did, and it worked, but now i cannot seem to change it back.
> I would like to change it back to any user but root.
> Does anyone know how to manipulate what user javamonitor runs as?
>
> Also, on 10.4, can javamonitor run as anything but appserver?
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      (Webobjects- 
> [email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-deploy/ 
> robertwalker1%40mac.com
>
> This email sent to [email protected]