Date: Sat, 10 Jun 2000 11:52:48 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: "Michael G." <mikegoe@earthlink.net> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: User-level PPP..unable to access Tun0 device Message-ID: <20000610115248.A233@parish> In-Reply-To: <200006100124.SAA27456@avocet.prod.itd.earthlink.net>; from mikegoe@earthlink.net on Fri, Jun 09, 2000 at 08:21:00PM %2B0000 References: <20000610015837.A232@parish> <200006100124.SAA27456@avocet.prod.itd.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 09, 2000 at 08:21:00PM +0000, Michael G. wrote:
> I did add to /etc/group like so
>
> <snip>
> network:*:69:root,mikegoe,meiousetsuna
> <snip>
>
> and this is my default section of my /etc/ppp/ppp.conf
>
> <snip>
> default:
> set device /dev/cuaa1
> set log Phase Chat LCP IPCP CCP tun command
> set speed 115200
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
> OK \\dATDT\\T TIMEOUT 40 CONNECT"
> allow user mikegoe
> <snip>
>
> and get this:
>
> > ppp
> Working in interactive mode
> Warning: No available tunnel devices found (Permission denied)
> >
>
Ah right, your ppp binary isn't setuid:
# ls -l `which ppp`
-r-sr-xr-- 1 root network 275660 6 May 19:57 /usr/sbin/ppp
^
Try, as root:
# chmod 4555 /usr/sbin/ppp
That will do the trick.
HTH
> Like I said..works great as root
>
> Hmmm...any further suggestions ?
>
> Thanks.
>
> Michael G.
>
> Mark Ovens <mark@dogma.freebsd-uk.eu.org> wrote:
>
> > On Fri, Jun 09, 2000 at 06:26:09PM +0000, Michael G. wrote:
> > > I've got a script in /etc/ppp (thanks to Neill) and it runs great
> under
> > > root, but not as a normal user. I've set the appropriate permission
> (I
> > do
> > > believe) but I've been unable to get access to Tun0 (user-level ppp
> is
> > > inabled in rc.conf as well). My normal user is a memeber of wheel as
> > > well. Although I really don't mind using 'su', I want to sway my
> wife
> > > away from M$ so I need to be able to attach dialing of the modem to
> an
> > > icon on my KDE desktop.
> > >
> > > Any suggestions?
> > >
> >
> > You need to make mere mortals members of the group ``network'' and add
> >
> > allow user <username_1> <username_2> ......
> >
> > to /etc/ppp/ppp.conf in the ``default'' section.
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
...and on the eighth day God created UNIX
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000610115248.A233>
