[97173] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Initiating pppd as a user

daemon@ATHENA.MIT.EDU (Jan Carlson)
Sun Nov 1 16:48:32 1998

Date: Sun, 01 Nov 1998 16:37:43 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com, Rich Shepard <rshepard@appl-ecosys.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Rich Shepard wrote:

> On Sun, 1 Nov 1998, Matthew Saltzman wrote:
>
> > The RedHat admin tools work just fine to set this up.  Follow the
> > menus
> >
> >       Linxconf-->Networking-->PPP/SLIP/PLIP-->ppp0-->Hardware
> >
> > and select "Allow any user...".  Or
>
> > If you properly configure everything else along the way, then any user
> > will be able to run "ifup ppp0" or "ifdown ppp0" to start or stop the
> > link.
>
> Matthew,
>
>   I'm part way there. Did the above and tried running /etc/ppp/if-up ppp0 as

You should not run that.            Run /sbin/ifup ppp0          as intended.
You seem to be in the wrong place.

>
> a user. I wasn't allowed to because when I let linuxconf make the changes
> (and, BTW, allowing users to initiate pppd had already been set), it took
> off the suid bit on /usr/sbin/pppd. The error message was that one had to be
> root to run the program.
>
>   In /etc/ppp/if-up it says to not modify that file, but to make changes in
> a local version. Could it be that I need to copy the file to each user's
> /home directory and modify it for use there? If so, what does each copy need
> to contain? And, what is the syntax to invoke pppd as a user?
> /usr/ppp/if-up ppp0 and /usr/ppp/if-down ppp0? I suppose that I could add
> /usr/ppp to each user's path.
>
> Thanks again,
>
> Rich
>
> Dr. Richard B. Shepard, President
> Applied Ecosystem Services, Inc.
> 2404 SW 22nd Street
> Troutdale, OR 97060-1247  U.S.A.
> + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax)
> rshepard@appl-ecosys.com
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.1




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post