[OLUG] non-privileged ppp ...?
Adam Lassek
lunatik at radiks.net
Thu Feb 24 20:46:51 UTC 2000
Well I'm certainly not a guru, but wouldn't it be much easier to just
have something like diald running?
mrmyster wrote:
>
> hoping some wizard can help me with a frustrating
> problem having to do with pppd.
>
> at home i have a server using mklinux pre-R1 on a
> powermac 7100/66. after a lot of 'how-to-ing' and
> good advice i've got it up and running. its networked
> to my two powermac7500's via ethernet and has a modem
> on it.
>
> my goal is to build a web page (cgi) that i can get to
> from one of my other macs that will tell the server to
> dial in.
>
> i can run the scripts as root (console or telnet) and
> get dial up started just fine. also got firewalling
> and forwarding going (courtesy of IPFWADM) and its
> working great.
>
> try as i might i can NOT get the ppp scripts (start or
> stop) to run from a non-privileged account. that's
> going to be necessary for any kind of point and shoot
> act on one of the macOS machines to start dial up.
>
> to start the dial in i'm executing the following
> command-
>
> /etc/sysconfig/network-scripts/ifup-ppp ifcfg-ppp0 &
>
> then i issue a firewall command. to drop the
> connection i do this-
>
> /etc/sysconfig/network-scripts/ifdown-ppp ifcfg-ppp0
>
> i've tried setuid and setgid against the pppd and the
> scripts as well as several other pieces to no avail.
>
> when i run the scripts from any user other than root
> i get a pppd error 2. i read the man page on it
> and it wasn't very informative.
>
> any guru?s that care to tackle this and relieve my
> stress?
>
> thanx,
> michael
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> -------------------------------------------------------------------------
> Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
> To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
More information about the OLUG
mailing list