PDA

View Full Version : KPPP question


satimis
2005-05-06, 04:49 AM CDT
Hi folks,

Fedora Core 2
KDE desktop

KPPP can be started and login as ROOT to connect ISP. But the browser must be started as ROOT as well to browse Internet. As USER the browser can't browse Internet even ISP connected.

Please advise where I have to configure to allow USER to connect ISP (via KPPP) and to browse Internet as well. TIA

B.R.
satimis

artklein
2005-05-06, 07:59 AM CDT
If you want to bypass the console helper/root login issue then type the following is a termnal console shell:

su -
rm /usr/bin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp
chmod ugo+s /usr/sbin/kppp
exit

When you run kppp as a user, the first time after doing this, you may need to configure kppp again.

tejas
2005-05-06, 07:59 AM CDT
You can edit the /etc/pam.d/kppp to read
auth sufficient pam_permit.so

on the second line.

This does have a minor security flaw though.

If you run kppp, your terminal will have root access for about 5 seconds automatically.

satimis
2005-05-06, 09:39 AM CDT
Hi artklein,

Tks for your advice.

Something strange happened here. After keying in ROOT password to connect ISP, now URER's browser can browse Internet. I haven't touched anything. This is the setup I need.

su -
rm /usr/bin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp
chmod ugo+s /usr/sbin/kppp
exit$ ls -al /usr/bin/kppp
lrwxrwxrwx 1 root root 13 Sep 24 2004 /usr/bin/kppp -> consolehelper

$ ls -al /usr/sbin/kppp
-rwxr-xr-x 1 root root 657420 Apr 15 2004 /usr/sbin/kppp

/usr/bin/kppp was sym-linked to consolehelper and the folder was empty.

B.R.
satimis