Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 1997 21:58:39 -0400
From:      Chuck <crtb@capecod.net>
To:        questions@freebsd.org
Subject:   ip-down can't route delete
Message-ID:  <199705120158.VAA15051@localhost.nih.gov>

next in thread | raw e-mail | index | archive | help
When my ppp link goes down (I absentmindedly don't use it for 5 min.
and my ISP kills it), /etc/ppp/ip-down is run.

My ip-down has a route delete in it, because for some reason pppd
doesn't do a good job of it, and leaves old IP addresses in the table.

But the route delete fails with permission denied, since it's not
running root.

On my FreeBSD 2.1.0-RELEASE, pppd is setuid root, and appropriately so.
Yet it can't run route!  My guess is that route wants a real root UID,
not just an effective root.  But sudo route delete works fine!  Is that
any different?

Please e-mail.. I don't subscribe to questions.  TIA.

        Chuck Bacon -- crtb@capecod.net
                ABHOR SECRECY -- DEFEND PRIVACY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705120158.VAA15051>