I have made a menu in FluxBox to Connect and Disconnect to my ISP.
The menu looks like this:
http://w1.226.telia.com/~u22610336/menu.jpg
Now to the actual problem:
I know I am not allowed to use the commands "ppp-on" and "ppp-off" as a normal user. I have to be root to use them.
I know I must edit my sudoers file so that it makes it possible for a normal user to use "ppp-on" and "ppp-off". But how I do this I don't know.
I have tried this in the sudoers file:
http://w1.226.telia.com/~u22610336/sudoers.jpg
But that doesn't work.
I have also tried to do it without a Alias. Like:
dregeljon ALL=NOPASSWORD:/usr/sbin/ppp-on
dregeljon ALL=NOPASSWORD:/usr/sbin/ppp-off
And that doesn't work either.
Now, please help me!
What should my sudoers file look like EXACTLY, and what should my fluxbox "menu" file look like?
Thank's in advance
/DregelJon
*off to bed*