Menu entry as root
Hi.
I am newbie in Linux. I have installed Mandrake 9.1 and then a program
(in fact, is Tomcat, but this is not important). I have located the program in /usr/local (I think it is the right place, isn'n it?). But this program (to be more specific, the shell script which starts the server) can only be runned as root (I don't know if the cause is the same program or the /usr/local directory). So far, so good.
The problem is I want to define a menu entry in order to run this program (this shell script) without opening a terminal. In Windows (oh! I said the wicked word) this is automatically done by the installer. In Mandrake a menu entry can be done by MenuDrake, but when I do so, the entry doesn't work because I have no root privileges.
I have tried everything and it didn't work. And I don't know how to login as a root in Mandrake (the root user doesn't appear in login screen). Besides, I don't want to log as a root every time I want to start the program.
So my question is "how can I define a menu entry that, when executed, has root privileges?" What I want to achieve is similar to the execution of Mandrake Configuration Center (when runned, a window appears that ask for the root password -KDE su).
Thank you,
Cento Vallero
|