LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   kppp permissions? (https://www.linuxquestions.org/questions/linux-hardware-18/kppp-permissions-50162/)

exper13nce 03-16-2003 05:43 PM

kppp permissions?
 
When I connect to the Internet with kppp, I need to be root. I don't want that, because then I also have to be root to use or close that connection, and kppp doesn't dock into the panel. I've tried creating a group called "kppp" and giving it ownership of all kppp files/programs, but it didn't help. Also, wvdial connects, but doesn't "know what to do" after that... Any help?

onurb 03-16-2003 05:59 PM

Try "sudo pppd call <isp-name>"
or "sudo gkdial"
or "sudo wvdial" as normal user
(The first two work in VectorLinux, dunno about the wvdial)

rshaw 03-16-2003 06:24 PM

enable "stupid mode" in wvdial, chmod 6755 /usr/sbin/pppd, for kppp

2Sleepy2 03-17-2003 12:18 AM

I ran into the same thing. Seems that Redhat uses something they call "consolehelpers" to run things from the menus and they seem to mess up security settings for kppp. I tried changes from the kppp man page without success and found the consolehelper explanation on the KDE website FAQ (www.kde.com.)

I decided to stick with Gnome under Redhat (I think they default to that) and set up the modem connection info in the Network configuration. I then use Modem Lights on the panel to activate and monitor the modem connection. Still fussin' with it, tho - I just like how easy kppp is as root and want to use it in other accounts.

exper13nce 03-24-2003 06:50 PM

Thanks for all your replies... I haven't tried the last one, but I will as soon as I get back onto my computer. Does anyone know more about this ConsoleHelper thing? Like, how to disable/midify it? Something strange just started happening, and I'm pretty sure it's related to it; whenever I try to run anything requiring a root password, nothing happens when I click on it, whether it's an icon on my desktop or in the menus. I haven't really looked into it yet, but I will as soon as I'm done writing this...

I wonder why I didn't have these problems with Mandrake...
Oh, well, don't respond to that last remark...

JayCnrs 03-24-2003 08:23 PM

As for kppp: to dock it into the panel you will open up kppp then click on setup, click on the tab Misc. put a check mark in dock in panel, this will dock it into the panel when you connect.

As for the needing to be root when you enter your password and click on connect wait till it connects then if you look in your panel you will see what looks like a set of keys, double click on this icon, then click forget authorization. This will drop you out of being root but leave the connection active.

Hope this helps :) Sorry I can't help with the other problem.

exper13nce 03-25-2003 01:21 PM

Kppp still doesn't dock, even though I checked the box...I found out how to fix the password dialogue box problem on the KDE website...It involved deleting the current link and making a new one, but the original problem persists; once connected, I can't get any data. I'm pretty sure it has to do with the ip address configuration, but I can't figure out how to change it. In the kppp settings, I have Dynamic IP Address selected, but when I connect, it gives me a strange address. It used to always start with 209.57.215.* but now it's a class A network...I know my computer assigns it to me somehow, but how do I change this? I've tried the Network Configuration tool and just about everything else I could find in the menus. Also, the ConsoleHelper problem is still bugging be; programs requiring the root password no longer run; the password dialogue box doesn't pop up. Anyone able to relate to this problem?

exper13nce 03-26-2003 11:19 PM

ConsoleHelp problems
 
Anyone have them? I can't get system tools or settings to open...

exper13nce 03-29-2003 05:41 PM

Well, I just reinstalled Linux, which wasn't too bad, since I just kept my "/home" partition... Everything works, except kppp still won't dock. When it tries, it just disappears.

btw, the commands I used to "fix" kppp were...

Code:

rm /usr/bin/kppp
Code:

chmod u+s /usr/sbin/kppp
Code:

ln -s /usr/sbin/kppp /usr/bin/kppp

lynch 03-30-2003 07:55 AM

This was the fix I used for RH 7.3 to allow regular users to dialout with kppp:
1.Log in as root

2.check for /usr/bin/kppp and usr/sbin/kppp

3.rm /usr/bin/kppp

4.chmod u+s /usr/sbin/kppp

5.ln -s /usr/sbin/kppp /usr/bin/kppp

I prefer to use kinternet.:)

lynch


All times are GMT -5. The time now is 06:23 AM.