I have a Ubuntu 10.4 system on which I'm running OpenFire but it currently runs as root. How can I make Openfire run as a different user?

Thanks

link|improve this question

45% accept rate
1  
How did you do the install? I don't have an OpenFire device handy to look, but if I remember correctly, the .deb installation created a user for the service. – Shane Madden Aug 23 '11 at 15:19
feedback

2 Answers

I restart openfire nightly with a cron, so you should also be able to use this:

sudo -u other_username /home/openfire/bin/openfire start
link|improve this answer
feedback

Not completely sure about OpenFire, however something like su user openfire should work.

link|improve this answer
Openfire is a chat server, you don't start something like that manually. – SvenW Aug 23 '11 at 10:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.