Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Linux example 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686 GNU/Linux
Description
I want to run Archiva as another user named archiva (RUN_AS_USER=archiva). I have to create the file $HOME/.profile for user archiva in order to set some environment variables:
export PLEXUS_BASE=/var/archiva
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export TOOLS_JAR="${JAVA_HOME}/lib/tools.jar"
Otherwise, Archiva won't start. I think the file bin/linux-x86-32/run.sh should do the job. If RUN_AS_USER is set, a new login shell is created and within that one the wrapper is run.
Issue Links
- is related to
-
MRM-597
Cannot run Archiva as another user because su is run with option "-" (--login)
-
Could be related to
MRM-597. So fixing one of these two could fix the other one as well.MRM-597. So fixing one of these two could fix the other one as well.