From owner-freebsd-questions Sun Jan 31 10:57:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04639 for freebsd-questions-outgoing; Sun, 31 Jan 1999 10:57:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04625 for ; Sun, 31 Jan 1999 10:57:38 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id QAA02481; Sun, 31 Jan 1999 16:37:23 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.2/8.9.2) with ESMTP id QAA92053; Sun, 31 Jan 1999 16:22:34 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901311622.QAA92053@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Dan Mahoney Jr." cc: freebsd-questions@FreeBSD.ORG Subject: Re: pppctl as non-root? In-reply-to: Your message of "Sun, 31 Jan 1999 04:21:10 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Jan 1999 16:22:34 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hey, in my ppp.conf I have the line > > set server /var/tmp/internet "" 0177 > > Thi works when I use pppctl as root, since the resulting file is > root-owned (with the group bin). But I am unable to use pppctl to connect > to this as a non-root entity, even when that entity is in the wheel and > network groups (of course it works if I su, but I'd prefer not to, as my > connection is rather crappy, and it often requires a manual down/dial > (don't knock it, it's free). > > Is there some way to either get that file so users other than root can > access it or make pppctl read it regardless of who's using it? Have you tried looking at the ``set server'' description in the ppp man page ? The 0177 is a permission mask.... It's unwise to set it to anything other than 0177 if you have no password though. > Thanks. > > -Dan Mahoney > > -- > > "SOY BOMB!" > > -The Chest of the nameless streaker of the 1998 Grammy Awards' Bob Dylan > Performance. > > Dan Mahoney > Gushi on efnet IRC > ICQ:13735144 > (webpages TBA) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message