🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6660

Re: INN password checking

#6660
From: Greg Frazier
Date: Wed, 17 Apr 1996 00:00
33 lines
2206 bytes
R. David Murray wrote:

> Hmm.  Guess maybe I'll have to try this again.  I tried
> to do "*:R P:username:password:*" to allow a user to read newsw from our
> server no matter where he was coming in from on the net, but it
> seemed to have the side effect of allowing anyone to read
> from our news spool.  Maybe I misread the logs...

The checking performed upon nnrp.access happens in two
completely separate passes.  The first pass happens when
the client connects to your news server; at that point,
the machine entry is checked.  If, subsequently, the
client authenticates itself, the user+password are checked.
After each phase, the reader has the access permissions
associated with whichever ws the last line in nnrp.access
which matched.  So, let us say that you will let anybody
read test off of your server, but only <jdoe> can read/post
to other groups, then you want something like:
*:R:::test
:RP:jdoe:jdpasswd:*

Note that, if the machine the user is coming from has no
access permissions to your server, then the client will
not be allowed to connected.  If you do not want any
un-authenticated users access your server, provide a single
entry with machine-based authentication and read permission
on an innocuous newsgroup, and then fill the rest of your
nnrp.access file with user-based authentication lines, giving
the appropriate permissions to those users.

-- Greg Frazier

Technical Details
Message-ID: <3175AE35.7DA3@forgot.saic.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.mbox.zip!not-for-mail
References: <4krtg6$ee5@host.vivid.net> <3172d3f8.2331071@168.126.63.6> <bitdance.829776656@bermuda.io.com>

Show Full Headers
Complete Article Headers
Message-ID: <3175AE35.7DA3@forgot.saic.com>
Subject: Re: INN password checking
Date: Wed, 17 Apr 1996 00:00:00 +0000
From: Greg Frazier <frazier@forgot.saic.com>
References: <4krtg6$ee5@host.vivid.net> <3172d3f8.2331071@168.126.63.6> <bitdance.829776656@bermuda.io.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.mbox.zip!not-for-mail
X-Deja-AN: 148152435
Distribution: inet
To: "R. David Murray" <bitdance@io.com>
Content-type: text/plain; charset=us-ascii
Organization: SAIC GCCS COE Effort
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)