Date: Sat, 04 Oct 1997 14:39:05 +0100 From: Brian Somers <brian@awfulhak.org> To: "A Ling" <al52x@nih.gov> Cc: "FreeBSD-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: Only root can use ppp or tun0? Message-ID: <199710041339.OAA02174@awfulhak.demon.co.uk> In-Reply-To: Your message of "Fri, 03 Oct 1997 14:31:35 EDT." <199710031831.OAA15103@pop.cc.nih.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710041339.OAA02174>