🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72777

Re: The use of ckpasswd in readers.conf

#72777
From: Christian Hoffmann
Date: Tue, 29 Nov 2005 07:57
53 lines
2139 bytes

Benedict White wrote:

> If I want to set access on the basis of user login but have no reliable 
> way of determening where they come from, how can I can control access 
> and limit it for some users but allow it for others?
> 

Hello Benedict,

...maybe this is what you want?

# either the client requests authenticication...

auth "admin" {
      key: special
      auth: "ckpasswd -d /home/news/readers.auth"
      default-domain: "foo.bar"
      }

# ... or not.


auth "default" {
      hosts: "*"
      default: "user"
      default-domain: "foo.bar"
      }

#
# clients which request authenticication,
# are "admin" and have another access group...
#


access "default" {
     users: "*"
     read: "test,foo.*,!foo,!junk,!control,!control.*"
     post: "test,foo.*,!foo,!foo.admin,!junk,!control,!control.*"
     }

access "admin" {
     users: "benson@*,hedges@*,harley@*,davidson@*"
     key: special
     newsgroups: "*"
     access: RPIANL
     }

Regards,

Christian
Technical Details
Message-ID: <3v2fulF13lqf1U1@individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <dmg07f$req$2$8302bc10@news.demon.co.uk> <dmg455$g93$1@puck.litech.org> <dmg9ef$5uq$2$8302bc10@news.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <3v2fulF13lqf1U1@individual.net>
Subject: Re: The use of ckpasswd in readers.conf
Date: Tue, 29 Nov 2005 08:57:02 +0100
From: Christian Hoffmann <brcwcs@gmx.net>
References: <dmg07f$req$2$8302bc10@news.demon.co.uk> <dmg455$g93$1@puck.litech.org> <dmg9ef$5uq$2$8302bc10@news.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 53
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net CSAicg190F0ogRILGba/ZQLZsGQ+4QR9PP3/Jtpilc/YDCjGG2
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
X-Accept-Language: en-us, en
In-Reply-To: <dmg9ef$5uq$2$8302bc10@news.demon.co.uk>