From owner-freebsd-questions Sat Oct 4 09:16:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA21581 for questions-outgoing; Sat, 4 Oct 1997 09:16:00 -0700 (PDT) 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 JAA21570 for ; Sat, 4 Oct 1997 09:15:52 -0700 (PDT) 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 OAA02174; Sat, 4 Oct 1997 14:39:05 +0100 (BST) Message-Id: <199710041339.OAA02174@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: "A Ling" cc: "FreeBSD-questions" Subject: Re: Only root can use ppp or tun0? In-reply-to: Your message of "Fri, 03 Oct 1997 14:31:35 EDT." <199710031831.OAA15103@pop.cc.nih.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Oct 1997 14:39:05 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I found the interchange below in the archives, which matches the > symptoms my 2.2.2R machine is showing. Unfortunately, setuid on ppp > doesnt stop the error message. Other information from my system > follows this excerpt: [.....] > aling:~>ppp > User Process PPP. Written by Toshiharu OHNO. > No tunnel device is available (Operation not permitted). > open_tun: No such file or directory > > aling:~>which ppp > /usr/sbin/ppp > aling:~>ll /usr/sbin/ppp > -rwxr-sr-x 1 root wheel 130811 Aug 3 16:24 /usr/sbin/ppp ^^^^^^^^^^ Ppp's not suid root. man chmod. You need "chmod 4555 /usr/sbin/ppp". > Yet ppp works perfectly when run by root! The other issue I can think > of is that I did install ppp-970803-2_2-STABLE_bin_tar.gz from > http://www.freebsd.org/~brian/ > Should I back out to the original 2.2.2R ppp code, or is there another > suggestion? I would have thought this was a permissions issue -- my > problem is that I don't know which other file/directory permissions could > be the cause. Thanks in advance for any advice you may suggest. The latest version of ppp on http://www.freebsd.org/~brian has a "make install" capability that gets this right. > Alex Ling AL52x@nih.gov (301) 496-7700 x235 > -- Brian , , Don't _EVER_ lose your sense of humour....