Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 14:58:48 +0100
From:      Brian Somers <>
To:        Chuck <>
Cc:        questions@FreeBSD.ORG
Subject:   Re: pppd 
Message-ID:  <>
In-Reply-To: Your message of "Sat, 12 Jul 1997 09:25:39 EDT." <199707121325.JAA05298@localhost> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> I have a script, /usr/local/bin/pppgo, which dials my ISP via pppd.
> Everything works except one thing.  When the line drops (the ISP
> kills the line), ip-down runs, just as ip-up ran when connection
> was first made.  It attempts to "route delete $IP" and the like,
> but always gets:
> route: must be root to alter routing table: Permission denied
> even though TFM tells me that ip-down is run as root!  After all,
> pppd is setuid root.
> Any ideas?

Well, with ppp, any shell commands in the config files are run as the 
user that invoked ppp rather than as God.  I would think pppd is the 
same.  Without this "feature", anyone can create their own config 
files or run ppp interactively and do what they want.

I don't think you can create your own pppd config files, but you can 
pass what you want to connect/disconnect on the command line.

>         Chuck Bacon --

Brian <>, <>
Don't _EVER_ lose your sense of humour....

Want to link to this message? Use this URL: <>