Thank you for the response. >No, tomcat provide no such features. You can accomplish this (I think) on a Java >level (not OS-level) using the AccessController#doPriviledged approach. (See >javadoc for java.security.AccessController for more details).
Can you clarify something for me? You are referring to tomcat starting child processes and not changing the uid, correct? Another question - Can tomcat be run as another user other then root like httpd is? Thanks for the help. <signature> <name>Carey Lott</name> <pos>Web Tools Support</pos> <org>Infrastructure Storage & Tools Support</org> <company>EDS</company> <account>BellSouth</account> <phone>404-529-6676</phone> <email>[EMAIL PROTECTED]</email> <ipager>[EMAIL PROTECTED]</ipager> <disclaimer> ***** "The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material.� Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.� If you received this in error, please contact the sender and delete the material from all computers." </disclaimer> </signature> -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 9:02 AM To: Tomcat Users List Subject: RE: Starting a different process for each java operation Howdy, >A developer has a servlet that needs to change the uid for the process that >runs it to do some shared memory operations. Right now when this servlet >runs it is changing the uid of the root process for Tomcat which causes >other servlets to stop working. This is bad. Is this something that I >am supposed to configure in the server.xml or global web.xml? No, tomcat provide no such features. You can accomplish this (I think) on a Java level (not OS-level) using the AccessController#doPriviledged approach. (See javadoc for java.security.AccessController for more details). Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
