🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9456

Re: nn with authenticated login?

#9456
From: Tim Skirvin
Date: Sun, 20 Feb 2000 00:00
30 lines
2409 bytes
tskirvin@killfile.org (Tim Skirvin) writes:

>	The following script oughta work (I haven't tested it or anything,
>at least not the authorization part) and be fairly compatible with nn's
>interaction with the mini-inews.  It does, of course, require News::Article, 
>available at a CPAN mirror near you (perl -MCPAN -e shell), is a little short 
>on error messages, and isn't quite as user configurable as I'd like (but
>anything more would take some configuration line parsing).

	I didn't like this much, so spent some time cleaning up the code a
little bit and writing some more, too...  It's now available at <URL:http://
www.killfile.org/~tskirvin/software/inews>.  Note the complete lack of 
documentation and such...

	The biggest change I made there (over the last hour or so) was
support for semi-good authentication by user.  It now loads up the file
~/.nntpauth, which consists of lines like this:

news.server.com		username	password

	Then, if both a username and password exist, it automatically uses
them.  If not, then too bad.  I dropped the command line options too, since 
it's hard to make inews use them by default...

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	 The Killfile Dungeon <*>

Technical Details
Message-ID: <tskirvin.951078477@yen-lo-wang.crhc.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <38a48359@news.iglou.com> <zZ1p4.3008$8p3.401782@ptah.visi.com> <88jinq$2ba$1@jadzia.cord.de> <tskirvin.951074776@yen-lo-wang.crhc.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <tskirvin.951078477@yen-lo-wang.crhc.uiuc.edu>
Subject: Re: nn with authenticated login?
Date: Sun, 20 Feb 2000 00:00:00 +0000
From: tskirvin@killfile.org (Tim Skirvin)
References: <38a48359@news.iglou.com> <zZ1p4.3008$8p3.401782@ptah.visi.com> <88jinq$2ba$1@jadzia.cord.de> <tskirvin.951074776@yen-lo-wang.crhc.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 587646846
Sender: tskirvin@yen-lo-wang.crhc.uiuc.edu
X-Inews: Skirv's Little nn inews replacement
X-Complaints-To: usenet@crhc.uiuc.edu
X-Trace: sephiroth.crhc.uiuc.edu 951078676 3861 130.126.141.117 (20 Feb 2000 20:31:16 GMT)
Organization: Center for Reliable and High-Performance Computing
X-Note: If you got this through mail, it was probably posted and mailed.
Reply-To: tskirvin@killfile.org
NNTP-Posting-Date: 20 Feb 2000 20:31:16 GMT
Newsgroups: news.software.nn