🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46853

Re: Reader/Poster Authentication in INN 2.3

#46853
From: Russ Allbery
Date: Thu, 08 Jun 2000 00:00
37 lines
2493 bytes
Tim Pennick <tpennick@axion.bt.co.uk> writes:

> I'm trying to get individual user authentication set up on my test
> server running INN 2.3 (Beta from 31st May).  I've found references to
> password authentication and RADIUS etc, but I can't find any information
> about how it should be configured.

The readers.conf man page and the sample readers.conf file are the best
current documentation.

> The kind of setup I'm interested in, is where a local group is set up
> for a project who supply a list of users who they want to have access.
> You then need some way for the users to set their passwords presumably
> by logging into a captive script.  Can anyone let me know how/if this
> works, and if there are any documents which would fill in the gaps.

The part that INN supplies you is a program to verify a username and
password against a password file, the ability to assign an identity string
based on the results of that check, and the ability to assign privileges
to wildmat patterns matching identity strings.

Getting the passwords into the file isn't done by anything in INN; that
part you have to write yourself (it's pretty straightforward using Perl or
some other scripting language).

This particular sort of password-controlled setup gets rather unwieldy
using readers.conf if you have a lot of groups and a lot of users, since
you have to set up access stanzas for each possible combination of groups
one is allowed to access and list all the user identities that fall into
each category.  A possible alternative is to instead use the Perl or
Python authentication hooks, which would let you use more arbitrary and
better-suited data structures to represent that information.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylem677rud.fsf@windlord.stanford.edu>
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: <8ho29g$4pb$1@pheidippides.axion.bt.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <ylem677rud.fsf@windlord.stanford.edu>
Subject: Re: Reader/Poster Authentication in INN 2.3
Date: Thu, 08 Jun 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8ho29g$4pb$1@pheidippides.axion.bt.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.mbox.zip!not-for-mail
X-Deja-AN: 632802842
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp