[plug] PPPD

Paul Dean paul at canningcollege.wa.edu.au
Sat Jan 26 17:26:19 WST 2002


On Sun, 27 Jan 2002, Andrew  Barbara wrote:

> I am using the following script...
> 
> /usr/sbin/pppd connect '/usr/sbin/chat -vf /etc/ppp/56k.Chat' 57600  /dev/ttyS1 modem crtscts defaultroute user (USERNAME)
> 
Unless you change the permissions(which is not recommended), no you
can't.
You should write a script that runs 'ifup ppp0' with the users details in
'chat-ppp0', and for each user on the system write a new 'ifcfg-ppp#'
and 'chat-ppp#', where '#' is a number for each users script.

I think you will find this is the best solution for you, if you want to
go down that path.

> Is there a way to do it in a script like this?
> 
> >>> paul at canningcollege.wa.edu.au 01/26/02 12:43 PM >>>
> On Sun, 27 Jan 2002, Andrew  Barbara wrote:
> 
> > Hi,
> > is there a way to dial a connection with pppd as a non privliged user, im getting the following error...
> > 
> > /usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not setuid-root
> > 
> > Thanks.
> > 
> In '/etc/sysconfig/network-scripts/ifcfg-ppp0' file set the parameter
> 'USERCTL=yes' this will allow users to run the ppp connection.
> Or run 'control-panel' and cofigure your ppp device and connection from
> in the gui app.
> 
> 

-- 
Paul...

/***** Experience is that marvelous thing that enables you to 
	recognize a mistake when you make it again. 
	-- Franklin P. Jones *****/

/*****All programmers are playwrights and all computers are lousy actors.
            -- Unknown*****/

/* How smart are Computers? They seem to need instructions all the time... 
	-- Me */



More information about the plug mailing list