From owner-freebsd-questions Wed Sep 1 20:38:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from echonyc.com (echonyc.com [198.67.15.2]) by hub.freebsd.org (Postfix) with ESMTP id 78A1515055 for ; Wed, 1 Sep 1999 20:38:33 -0700 (PDT) (envelope-from suleyman@echonyc.com) Received: from localhost (suleyman@localhost) by echonyc.com (8.9.3/8.9.3) with ESMTP id XAA05746 for ; Wed, 1 Sep 1999 23:37:02 -0400 (EDT) Date: Wed, 1 Sep 1999 23:37:02 -0400 (EDT) From: Ken Seggerman To: freebsd-questions@freebsd.org Subject: Re: user PPP only works for root In-Reply-To: <19990901181345.C283@marder-1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for replying to me: > > Add ``allow user '' or ``allow user *'' for everyone > to /etc/ppp/ppp.conf and add (and anyone elses) > to the group ``network'' then you can run ppp as a non-root user. > I have followed your instructions but it still does not work. I hadn't added my regular username to the network group, but now I have, and rebooted of course. $ groups suleyman wheel network /etc/ppp/ppp.conf default: allow user suleyman set speed 115200 set device /dev/cuaa0 permisssions are as follows: $ ls -al /usr/sbin/ppp -r-xr-x--- 1 root network 195228 Feb 15 1999 /usr/sbin/ppp $ ls -al /dev/tun0 cr-xr-x--- 1 uucp dialer 52, 0 Sep 1 23:13 /dev/tun0 $ ls -al /dev/cuaa0$ ppp cr-xr-x--- 1 uucp dialer 28, 128 Sep 1 23:13 /dev/cuaa0 still no ppp unless I su $ ppp Working in interactive mode Warning: No available tunnel devices found (Permission denied). Warning: bundle_Create: No such file or directory $ su Password: ashram# ppp Working in interactive mode Using interface: tun0 ppp ON ashram> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message