you may want to use in your script:
/usr/bin/su nobody -c "$TOMCAT_HOME/bin/startup.sh"
hth
*********************************************************************
* Boris Niyazov Ph: 212-854-4094 Fax: 212-854-1749 *
* Systems Manager Email: [EMAIL PROTECTED] *
* Columbia Law School URL: http://www.law.columbia.edu *
*********************************************************************
>
>I'm running tomcat 3.2.1 on Solaris. It is started in an rc2.d/ script by
>root, and therefore runs as root. We'd like to be able to have it run as
>nobody like apache does. Is there a way to do this? I read through the
>documentation on it, and it mentioned using su inside of the start scripts,
>but that method did not work.
>Any help would be greatly appreciated.
>Thanks,
>Jason Majors
>