Home > Documentation > Administration > Running Geronimo as a non-root user |
It is very likely that you will not want to have the Geronimo server process under the super user root. The following are a series of simple steps for changing the ownership and permissions for the required files in order to run Geronimo with a different user.
The following tasks should be performed while logged as root or a user with enough access rights.
PATH=$PATH:<java_home>/bin
export PATH
JAVA_HOME=<java_home>
export JAVA_HOME
chown -R root:www <geronimo_home>
chmod -R 774 <geronimo_home>/bin
chmod -R 774 <geronimo_home>/deploy
chmod -R 774 <geronimo_home>/repository
chmod -R 774 <geronimo_home>/var
You are now able to run and deploy applications with a user other than root.
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2009, The Apache Software Foundation, Licensed under ASL 2.0. |