Date: Sun, 31 Jan 1999 16:22:34 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Dan Mahoney Jr." <danm@DanMahoney.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pppctl as non-root? Message-ID: <199901311622.QAA92053@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Sun, 31 Jan 1999 04:21:10 EST." <Pine.BSF.4.05.9901310415080.25228-100000@acetylene.vapornet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
<http://www.Awfulhak.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901311622.QAA92053>
