[97164] 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 (Rich Shepard)
Sun Nov 1 16:17:52 1998

Date: Sun, 1 Nov 1998 01:15:45 -0800 (PST)
From: Rich Shepard <rshepard@appl-ecosys.com>
To: redhat-list@redhat.com
In-Reply-To: <199811012024.PAA02429@nautilus.math.clemson.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

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
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.


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