You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Paul Frieden <pf...@dChain.com> on 2000/11/30 18:38:38 UTC

[PATCH] tomcat.sh su support

This is a patch to tomcat.sh that adds a -user flag to control who
tomcat executes as.  I couldn't get it to work by having it just execute
the java command as the new user, so I have the script execute itself as
the new user, and pass along the information it needs from the parent's
environment (JAVA_HOME, JAVACMD, etc).

I don't know if this is suitable for inclusion in one of the maintenance
releases, but I thought perhaps somebody would get some good out of it.

Paul Frieden