🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66657

Re: Different access policies for external and internal users.

#66657
From: Jeffrey M. Vinocur
Date: Thu, 11 Sep 2003 17:57
33 lines
2141 bytes
In article <d6ef1c1f.0309110153.f289c54@posting.google.com>,
ishulz <ishulz@mail.ru> wrote:
>I'm trying to permit access for internal.* groups only for internal
>users, and passworded access for extrnal.* groups for all users.
>
>auth ext {
>    hosts: "*, !localhost, !127.0.0.1, !stdin, !192.168.0.0/24"
>    auth: "ckpasswd -f /usr/local/news/etc/passwd"
>    default: other_ext
>}
>
>auth int {
>    hosts: "localhost, 127.0.0.1, stdin, 192.168.0.0/24"
>    auth: "ckpasswd -f /usr/local/news/etc/passwd"
>    default: other
>}

In both of these cases, after sending username and password, the
assigned identity will be the username given.  So in both cases,
after authenticating, this is the line that will match:

>    users: !other_ext,*


Now, I think you're the first person I've *ever* seen post here
who actually *should* be using the key: parameter in
readers.conf.  Check the documentation on that, and just ask
again if you're still confused.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bjqd27$eoi$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <d6ef1c1f.0309110153.f289c54@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <bjqd27$eoi$2@puck.litech.org>
Subject: Re: Different access policies for external and internal users.
Date: Thu, 11 Sep 2003 17:57:27 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <d6ef1c1f.0309110153.f289c54@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 33
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1063303047 15122 66.218.0.75 (11 Sep 2003 17:57:27
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 11 Sep 2003 17:57:27 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)