|
From: Leif M. <le...@ta...> - 2009-11-26 05:21:22
|
Sylvain, Please open the src/sh.script.in file that ships with the Wrapper and edit the RUN_AS_USER variable on line 62. This will cause the Wrapper and JVM to be launched using the user you specify. Note that we currently do not support changing the user from root to another after Java has been launched because doing so would not work when the JVM needed to be relaunched later. This is an area that we have had on the table for a few years, but a clean way of doing it has not surfaced to date. This is wanted by users who want Java to allocate port 80 as root and change to a safer user after it has done so. Cheers, Leif On Thu, Nov 26, 2009 at 5:55 AM, Sylvain BONNEMAISON <syl...@co...> wrote: > Hello, > I would like to run my java service using a specific user:group. How to > do this in a clean maner ? > I've triyed using sudo command with no success - "root account is not > allowed to run the application". > Thanks. |