Article View: news.software.nntp
Article #72786Re: The use of ckpasswd in readers.conf
From: Jeffrey M. Vinocur
Date: Tue, 29 Nov 2005 20:29
Date: Tue, 29 Nov 2005 20:29
57 lines
2899 bytes
2899 bytes
In article <dmhm3o$7bn$1$8302bc10@news.demon.co.uk>,
Benedict White <benedict_white@uk2.net> wrote:
>
>I want people to be able to access a private server carrying a number of
>different groups. I do not know where on the net they will come from.
>
>Some groups I may want accessable to all regardless.
>
>Otherw I will want read/write access for particular people who have been
>issued with passwords. Also there may be some other groups to which they
>can have only read access.
>
>Then there will be people who want read/write ato all, based again on
>usernames and paswords.
Okay, I think I understand now. If you're going to be
authenticating everyone based on usernames and passwords, you
don't have to care where they come from.
Here's what I would do (untested):
auth worldwide {
hosts: "*"
auth: "ckpasswd -f newsaccounts" # or ckpasswd -s, or whatever
default: <unauthenticated>
}
access authenticated { # people with passwords
users: "*"
read: "!*,local.*"
post: "!*,local.*"
}
access special { # people with extra access
users: "benedict,james,marilyn"
newsgroups: "*"
}
access unauthenticated { # people without passwords
users: "<unauthenticated>"
read: "!*,local.public.*"
post: "!*,local.public.everyone"
}
I hope it's clear how this works -- an unauthenticated user will
always end up in the "unauthenticated" access group;
authenticated users will end up in either "authenticated" or
"special" depending on their username.
Does this meet your needs?
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dmidmu$vl7$1@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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<dmg07f$req$2$8302bc10@news.demon.co.uk> <dmg9ef$5uq$2$8302bc10@news.demon.co.uk> <dmhj7f$hct$1@puck.litech.org> <dmhm3o$7bn$1$8302bc10@news.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <dmidmu$vl7$1@puck.litech.org> Subject: Re: The use of ckpasswd in readers.conf Date: Tue, 29 Nov 2005 20:29:18 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <dmg07f$req$2$8302bc10@news.demon.co.uk> <dmg9ef$5uq$2$8302bc10@news.demon.co.uk> <dmhj7f$hct$1@puck.litech.org> <dmhm3o$7bn$1$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!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 57 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1133296158 32423 66.218.0.75 (29 Nov 2005 20:29:18 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 29 Nov 2005 20:29:18 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)