PDA

View Full Version : [ubuntu] [SOLVED] Easy terminal problem



Norfeldt
November 15th, 2008, 04:13 PM
Hello Linux-users

This is probably some easy problems. So I hope you will help me:KS

When I want to log on to my vpn client I do the following things:
Open the terminal
type su
type my-root-password
type vpnc my-vpn-client
type my-pass-for-the-vpn-client

And it works.. no problem..

BUT how do I make it to be an all-user command.. So I don't have to type su and min root pass? :?:

AND how do I make it a scrip (don't know if that's the right word for it) so I can add a button to the panel that I just have to press and then it just type the things in and then I'm online? :lol:

IF you can answer my AND-question how do I then make a cool button look8-)

fr.theo
November 15th, 2008, 04:17 PM
sudo is the proper way of getting temporary root permissions, be careful not to post anything with a way to get permanent root permissions, I am not an authority just got in trouble once for doing it.


you can right click on your ubuntu screen to create a launcher, or you can set up you ppp0 and use your network manager to access the net work but that will depend on how you are accessing it eg. modem or lan?

Good Luck.

Norfeldt
November 16th, 2008, 01:45 PM
You were right.. I just had to type sudo and then the command.. And I made a button..
Does anybody know a cool and easy-to-use program that can make icons?

thunk77
November 16th, 2008, 01:50 PM
Inkscape forever!:KS