Possible Duplicate:
How to make sudo remember my password and how to add an application to startup
I have lampp installed on my Ubuntu 12.04 Everything works very fine and now I would like to start the lampp-server on startup.
I have a startlampp.sh script with this:
cd /opt/lampp
sudo ./lampp start
code in it. It is enabled for execution and when I run it in terminal I am asked for the password and finally it starts lampp.
Can I include the password in the script that it runs on startup?
Greetings philipp