Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 22:03:45 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Chuck <crtb@capecod.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: pppd
Message-ID:  <Pine.BSF.3.96.970712220328.6418D-100000@localhost>
In-Reply-To: <199707121325.JAA05298@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Jul 1997, Chuck wrote:

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

What is the permissions on your script?

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970712220328.6418D-100000>