LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dial up help. Using PPP command line as non root. (https://www.linuxquestions.org/questions/slackware-14/dial-up-help-using-ppp-command-line-as-non-root-83705/)

At0mic_PC 08-19-2003 10:51 PM

Dial up help. Using PPP command line as non root.
 
Ok I set up ppp using pppsetup. Previously I had used Kppp but I really didn't like the way things were going in it. Using kppp in KDE was ok because I could just have the "window" curl up into a panel. In gnome it doesn't do that and I think kde sucks so I like gnome. Gnome has a nice little thing called Modem Lights. I really like this, so I would love to be able to dial in and terminate the dial up connection as a normal user. My wife has slowly been weened to come and play in linux and I have set up a nice gnome session that is nice and purple! I have also set up GDM and she can log me out and log herself in pretty easy. Long story short, it doesn't make much sense to log one user out and log anther in and re-dial up to the internet when both users were going to be online. Using ppp-go is nice because I can use it with modem lights, the pppd isn't terminated between user sessions, but no normal user can start it up or terminate it. Is there a way to make this happen?

BigBadPenguin 08-28-2003 05:21 PM

this all depends on the permissions of ppp-go... what are they?
try ' which ppp-go '
then 'ls -l /path/to/ppp-go ' (when you know the path)
at the command line, then let us know what they are.

niidea 08-29-2003 02:49 PM

you can edit the /etc/sudoers file (see man sudo and man sudoers) to permit a normal user to run ppp-on and ppp-off

Big_Kahunaca 09-26-2003 09:55 PM

Hey At0mic_PC

Here's something else you could try....

In the Modem Lights preferences put the following...

For the Connect command put "/sbin/ifup ppp0"

For the Disconnect command put "/sbin/ifdown ppp0"

That's what I have in mine (I'm using Red Hat 8 mind you) and it works fine. Hope you'll find it helpful.

sangsaew 10-02-2003 07:49 AM

123456797/*


All times are GMT -5. The time now is 12:29 AM.