Bug 2592 - users can not make pppd work
Summary: users can not make pppd work
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ppp
Version: 6.0
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Jay Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-06 07:44 UTC by gissi
Modified: 2015-01-07 23:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-06-08 16:08:24 UTC
Embargoed:


Attachments (Terms of Use)

Description gissi 1999-05-06 07:44:21 UTC
I installed rh6.0 with kde (without gnome)

I tried to make kppp work:
1) if I login as root it says that pppd is not SUID enabled.
I enabled the SUID of the pppd and it worked
2) if I login as a user it says it can not access the modem
and that it can't write the ppp log.
I changed the permission of the ttySx and it could access
the modem. But it could not write the log and it did not
work!

I think it is important to fix it as many end-users will use
the ppp-connection!

Thank for your work, that I appreciate.

Comment 1 genec 1999-05-08 13:51:59 UTC
I also experienced these problems (sort of) -- I have both gnome and
kde installed.  As a user, I get the suid message but I did not see
this if I started kppp as root.  However, when as root, I start kppp
and try to connect nothing really happens (seems to not find the
modem).  I can get the modem to respond using minicom or the redhat
(control-panel) network configuration "activate" function.

Since there is no gnome "user friendly" ppp interface, kppp is needed!

Gene

Comment 2 genec 1999-05-09 01:23:59 UTC
More inforamtion --

1. I verified the root/non-root situation with respect to the suid
problem/message -- it is NOT issued if you invoke kppp when on as
root.

2. I install kdenetwork-1.1.1 (final) as distributed from ftp.kde.org.
The modem problem is fixed -- I can now (only as root) bring up kppp
and successfully connect to an ISP.

3.  It appears that the kde rpms are built on a pre-release "snapshot"
of kde -- with the "final" release of 1.1.1, I suggest that redhat
provide updates (on updates.redhat.com) for the set of kde rpms.

Gene

Comment 3 genec 1999-05-09 20:58:59 UTC
yet more comments:

1. It appears that kppp is installed WITHOUT the SUID set.

2. It appears that /dev/ttyS0-4 have the wrong r/w attributes set (at
least for a user to access the modem).

3. pppd is installed WITHOUT the SUID set.  While "usernet" works,
kppp tests for SUID being set and will not work if it is.

4. I got the current snapshot of gnome-network (gnome-ppp) to compile
and installed it.  This seems to work when gnome-ppp is SUID and
/dev/ttyS0 is set r/w but kppp still fails involving setting up the
modem??

5. rhl 6.0 seems to have changes enough stuff that kppp and gnome-ppp
have a hard time working properly -- except when run from a root login
(not just an su).

Gene

Comment 4 genec 1999-06-04 16:03:59 UTC
I "may" have found my problem with kppp and it "may" apply to others.
I have both gnome and kde installed (kde 1.1.1 final, not the stuff
being distributed but that should not make a difference).

The problem appears to be related to the modem being used (a 3com 56k
in my case).  The "default" for kppp appears to be to set the SOUND
VOLUME for the modem to low (0).  This appears to be the problem.  If
I increase the volume (e.g., to 1), it works OK.  I tried going back
and forth between the settings and for 0 (does not work) and for 1 (it
does work).

This looks more like a kde problem than an rhl problem.

Gene

Comment 5 Preston Brown 1999-06-08 16:08:59 UTC
We do not currently package kppp setuid root for security reasons.  It
has not been audited.

Setting the SUID bit on this file is an option left to users, and they
may do it at their own risk.


Note You need to log in before you can comment on or make changes to this bug.