1

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

Mridang Agarwalla
  • 307
  • 2
  • 6
  • 15
  • 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 Answers2

1

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
Dag
  • 161
  • 1
  • 9
-1

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

Fionn
  • 1