Root privileges for Gnome PPP

Asked by RedMirtle

Hello everybody, being new to linux, I just learned how to use Wvdial in order to make my Nokia CS-10 work. Before attempting to make it work on the regular Network Manager in Ubuntu, i was hoping i could at least jump into a GUI. So I downloaded Gnome-PPP and inputed the data. Now the problem is that it needs root privileges to run the PPPD (which is where it should be), so i was wondering if there's a way to change that, since running sudo gnome-ppp would defeat the purpose of having a GUI in the first place (that works though).
I'm guessing I have to change the sudoers, but i got no idea what the line should look like...
could somebody please heeelp?

Thanks a bunch.

Question information

English Edit question
Ubuntu wvdial Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

launch the app using gksudo

This will run it with the elevated acces you need

Revision history for this message
RedMirtle (faceman8) said :

hey, thanks so much for answering.
Well, wouldn't that be the same as running it with sudo? I was thinking about a way to make it work with just a click on the gnome PPP button on the menu. Can some change somewhere be done so it either runs with sudo automatically or gives the application automatic privileges? I guess that if this was windows I'd give the icon the property of launching the application with the sudo or gksudo set before the launching line, can that somehow be done in linux?

Thanks so much.

Revision history for this message
actionparsnip (andrew-woodhead666) said :

NO sudo is ONLY for command line apps. sudo does NOT setup the evironment properly. The X server needs some extra stuff which is why gksudo is for GUI apps (like gnome PPP, gedit etc). If you use sudo with GUI apps you can screw up file ownerships and apps won't run.

You can run:


and add:


to the start of the command and it will run with elevated priveledges

Can you help with this problem?

Provide an answer of your own, or ask RedMirtle for more information if necessary.

To post a message you must log in.