๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67322

Authentication Question

#67322
From: Steve
Date: Mon, 08 Dec 2003 16:03
28 lines
1900 bytes
Using INN-2.4.0, I'm trying to setup an authentication scenario where 
global users have read access to a service, but must authenticate in order 
to post.

I used htpasswd to create an authentication file and successfully added a 
test user, then used ckpasswd to check it using the following command:
ckpasswd -f /usr/local/news/passwd/innpasswd -u userid -p passwd

Now I need to configure my readers.conf file and I'm having trouble 
finding an example that fits my requirement.  The excerpt below is from my 
current configuration, but doesnย’t work as I hoped it would.

auth "global" {
        default: "<user>@global"
}

auth "trusted" {
        auth: "ckpasswd -f /usr/local/news/passwd/innpasswd"
}

access "global" {
        users: "<user>@global"
        read: "*,!local*,!control*,!junk*"
}

access "trusted" {
        newsgroups: "*,!local,!control*,!junk*"
}
Technical Details
Message-ID: <br27ci$3te$1@bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!news.bananasplit.info!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <br27ci$3te$1@bananasplit.info>
Subject: Authentication Question
Date: Mon, 08 Dec 2003 16:03:30 +0000
From: Steve <steve@nospam-goofer.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!news.bananasplit.info!not-for-mail
Newsgroups: news.software.nntp
Organization: Bananasplit
Lines: 28
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Mon, 8 Dec 2003 16:03:30 +0000 (UTC)
User-Agent: Xnews/06.08.25