Tagged Questions
1
vote
2answers
2k views
Changing user in a script?
I am trying to change user in order to execute a specific command during startup. It fails silently and apparently the userchange isn't carried out as I can tell that the command isn't executed.
What ...
3
votes
2answers
1k views
Running a bash script as a less privileged user with upstart
This is the script, /home/jack/myscript.sh, which I want to run:
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26/
/home/jack/myapp/apache-tomcat-6.0.32/bin/./catalina.sh run
The upstart file, ...