-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Charles Read wrote:
>
> My configuration:
>
> Linux (RedHat 6.0)
> Apache 1.3.6
> JSDK 2.0
> ApacheJServ 1.0
>
> I noticed that the java interepreter forked from Apache
> runs under USER `nobody'. Can this be customized somehow?
>
> [I need my servlet to have certain access permissions
> to read/write certain files.]
>
It runs under user "nobody" because that is what you have configured
Apache itself to run under, in the httpd.conf file. One option is to
change this setting, which will affect both Apache and Apache JServ.
Alternatively, you can run Apache JServ under a different username by
starting it manually instead of automatically. There's details in the
INSTALL documents and the FAQ, but basically you will set up a shell
script that starts Apache JServ separately -- so it can be run under any
username you like. You can extend this approach to run more than one
Apache JServ process, each with their own set of zones, under different
usernames -- even on different servers, if that is appropriate.
Don't forget to change the ApJServManual setting in your
jserv.properties file to "on" if you want to do this.
>
> --
> Charlie Read
> MatraNet, Inc.
>
Craig McClanahan
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]