From owner-freebsd-questions Thu Sep 2 9:59:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand5.global.net.uk (sand5.global.net.uk [194.126.80.249]) by hub.freebsd.org (Postfix) with ESMTP id 5972615C66 for ; Thu, 2 Sep 1999 09:58:50 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from p46s10a07.client.global.net.uk ([195.147.234.71] helo=marder-1.) by sand5.global.net.uk with esmtp (Exim 2.05 #1) id 11MaCD-0002AV-00; Thu, 2 Sep 1999 17:58:46 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id RAA00854; Thu, 2 Sep 1999 17:51:03 +0100 (BST) (envelope-from mark) Date: Thu, 2 Sep 1999 17:51:02 +0100 From: Mark Ovens To: Ken Seggerman Cc: freebsd-questions@freebsd.org Subject: Re: user PPP only works for root Message-ID: <19990902175102.A296@marder-1> References: <19990901181345.C283@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Ken Seggerman on Wed, Sep 01, 1999 at 11:37:02PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 01, 1999 at 11:37:02PM -0400, Ken Seggerman wrote: > 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 ^^^^^^^^^ Ah ha! wrong perms, should be setuid, ``chmod 4554 /usr/sbin/ppp'' (as root) > > > $ ls -al /dev/tun0 > cr-xr-x--- 1 uucp dialer 52, 0 Sep 1 23:13 /dev/tun0 Mine is: crw------- 1 uucp dialer 52, 0 Sep 2 17:49 /dev/tun0 > > $ ls -al /dev/cuaa0$ ppp > cr-xr-x--- 1 uucp dialer 28, 128 Sep 1 23:13 /dev/cuaa0 Mine (I use cuaa2) is: crw-rw---- 1 uucp dialer 28, 130 Sep 2 17:49 /dev/cuaa2 HTH > > 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 -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ 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