Writing script to run script
by affeman from LinuxQuestions.org on (#51MJB)
I have a script to run VPN on my computer and to make it work I need to fill in password for sudo, user name and password for VPN and then point it to a name server.
Now, this works fine as it is and it's not that big of an effort but if I could make it easier, even have it up and running with the OS startup, that would be great. If not for the case of being lazy, it would actually be educational for me now using Linux instead of Windows.
Anyone got some good idea how to make this happen? I figure there has to be some programming and such (which I just started to look at) and some measure of security so that user names and passwords are located in proper places. Being a noob I need help with this. Where do I start?
Cheers!


Now, this works fine as it is and it's not that big of an effort but if I could make it easier, even have it up and running with the OS startup, that would be great. If not for the case of being lazy, it would actually be educational for me now using Linux instead of Windows.
Anyone got some good idea how to make this happen? I figure there has to be some programming and such (which I just started to look at) and some measure of security so that user names and passwords are located in proper places. Being a noob I need help with this. Where do I start?
Cheers!