Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
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

2 Answers 2

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
share|improve this answer

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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