The same reason as no other applications
should run run as root.
Security. You can give an administrator
access to JBoss user but not to the rest
of the server.
At home when you play around with JBoss
it doesn't matter.
How do you change what user jboss uses to run? And by the way .. what is the minimum directories or files this user has to have access to.
Thanks for your help
Sorry. I'm just a programmer using a Linux server configured by our network guys.
I think you should ask the question in a Linux forum, since this question is not JBoss related.
Have a look at the FAQ under "Start JBoss on boot with Linux? "