Article View: news.software.nntp
Article #52513Re: (INN 2.3.1) Pseudo-authentication for experienced users
From: Bettina Fink
Date: Sat, 26 May 2001 00:57
Date: Sat, 26 May 2001 00:57
51 lines
2210 bytes
2210 bytes
Eric <eric@dehont.dyn.dhs.org> wrote:
> 1-Who doesn't send a username/password should only see the groups that
> are relevant now.
>
> 2-People that send a username/password like guest/guest get to see the
> old newsgroups as well. (I created a password file with a lot of easy
> to guess usernames and identical passwords, and according to
> news.notice it works.)
>
> 3-And then I would like to give all users from localhost and my local
> network access to absolutely everything.
Try something like this (As usual: No guarantee for nothing,
readers.conf is very easy to ruin):
auth "external" {
hosts: "*"
auth: "ckpasswd -f /usr/local/news/db/newsusers" (or whatever)
default: "<fail>"
}
auth "local" {
hosts: "localhost, 127.0.0.1, stdin, [yourlocalnetworks]"
default: "<local>"
}
access "full" {
users: "*, !<fail>"
newsgroups: *
access: RP
}
access "fail" {
users: "<fail>"
newsgroups: "*, !whattheyshouldntsee"
access: RP
}
* From everywhere and no authentication gets the default identity
"<fail>" and matches the access realm "fail".
* From everywhere and successful authentication gets the identity
associated with his user/pass combination and matches the "full"
access realm (users: "*").
* From localhost or your local network gets the identity "<local>"
and matches the access realm "full" (users: "*").
Technical Details
Message-ID:
<9emv17$ld9$1@krell.zikzak.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!unlisys!news.snafu.de!krell!not-for-mailReferences:
<3b0ecb9f$0$19598$e4fe514c@newszilla.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <9emv17$ld9$1@krell.zikzak.de>
Subject: Re: (INN 2.3.1) Pseudo-authentication for experienced users
Date: Sat, 26 May 2001 00:57:11 +0000
From: Bettina Fink <laura@hydrophil.de>
References: <3b0ecb9f$0$19598$e4fe514c@newszilla.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!unlisys!news.snafu.de!krell!not-for-mail
Newsgroups: news.software.nntp
Organization: Spiritual Reality
Lines: 50
User-Agent: tin/1.5.9-20010522 ("Blue Water") (UNIX) (Linux/2.2.19 (i686))