2. Accuracy is important! Especially if you do not want useless advice.

3. I don't have a RHEL system available. And my Fedora system is at work (I'm at home). But googling shows that the "service" command is available on Fedora and has thge same syntax - the only thing you need to do is not use sudo. This should work:

#!/bin/sh

service myJBoss $*

I recall enough of my high school and college German to read and understand your post, but not enough to reply in like manner!

I agree with Nicklas - putting your password into a script file is a very bad idea. The most you can do is a simple script that runs "/etc/init.d/Jboss $*", but you will still have to enter the password manually.

And by the way, which password? Both Nicklas and I made some assumptions here, and they could be wrong. Is it the /etc/init.d/Jboss script that is asking for the password? Or are you first doing su and you need to enter the root password? Or are you running sudo ("sudo /etc/init.d/Jboss start") and sudo is prompting for your password? (Reread my prior post for asnwer #2!)