LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-19-2003, 10:51 PM   #1
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
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?
 
Old 08-28-2003, 05:21 PM   #2
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
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.
 
Old 08-29-2003, 02:49 PM   #3
niidea
LQ Newbie
 
Registered: Jun 2003
Location: France
Distribution: Slackware 12.1
Posts: 26

Rep: Reputation: 15
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
 
Old 09-26-2003, 09:55 PM   #4
Big_Kahunaca
LQ Newbie
 
Registered: Sep 2003
Distribution: ArchLinux - x86-64
Posts: 5

Rep: Reputation: 0
Smile

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.
 
Old 10-02-2003, 07:49 AM   #5
sangsaew
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
123456797/*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dial modem from command line joelescoulie Slackware 2 05-10-2005 12:47 PM
gnome-ppp ,howto use command line to connect internet lupang Linux - Software 0 04-11-2005 03:50 AM
root permissons to user command line chaitu_iiit Linux - Software 7 11-09-2004 06:54 AM
going to root without password thru command line amanjsingh Linux - Newbie 6 03-29-2004 11:38 PM
ppp setup using command line (cli) brakerm19 Linux - Software 1 08-28-2003 12:01 PM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration