From owner-freebsd-current Sat Oct 11 17:49:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19626 for current-outgoing; Sat, 11 Oct 1997 17:49:26 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19618 for ; Sat, 11 Oct 1997 17:49:18 -0700 (PDT) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA09778; Sun, 12 Oct 1997 00:24:25 +0100 (BST) Message-Id: <199710112324.AAA09778@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Mark Huizer cc: current@FreeBSD.ORG Subject: Re: ppp and uid0 In-reply-to: Your message of "Sat, 11 Oct 1997 21:05:57 +0200." <19971011210557.57085@xaa.stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Oct 1997 00:24:25 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > What use is it to make ppp SUID root, if you put a check in it to make sure > you are running it as UID 0? :-( Looks like irix this way. > And it breaks my nice little ppp-login that will initiate pppconnection > as non-root :-( Ppp can be run in -direct mode as a user as long as that user is a member of group network. In any other mode, the user must be uid 0 - it's too dangerous if they're not (you can do wonderful things if you've got control over the routing table!). To deal with your ppp-login requirement, check out the latest version of the pppctl(8) man page (available on www.freebsd.org/~brian). > Mark -- Brian , , Don't _EVER_ lose your sense of humour....