🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26938

Re: Cnews nntpd and nntp_access?

#26938
From: Fluffy
Date: Tue, 17 Mar 1998 00:00
28 lines
2061 bytes
Peter Huetmannsberger <huetmann@wildsau.idv.uni-linz.ac.at> wrote:

{about reference NNTP's access file}

: Npbody can write to any newsgroup, which is obvious, and understandable. 
: But how on earth, can I combine the two rules so that, everyone can see
: and read everything but posting is only possible to certain groups. 

If looks like reference NNTP allows no such thing :(  If you have permission
to post, you've got permission to post to *any* newsgroup, even the ones you
can't read.  nntpd doesn't do anything to check incoming headers, instead
delegating that work to inews, which of course knows nothing of authinfo. 
This probably needs fixing, eh?

: The other questions concern the authorization process, i.e. 
: having a file nntp_access with a READ. This prompts my newsreader
: to ask for a loginname and password. However it gives me an 
: authorization failed, ebverytime, on BOTH a shadow system, and an oldtime
: passwd file system. And yes the user in question is a member of group nntp.

I don't know why you're having problems with a traditional passwd setup,
unless your crypt is broken or something like that.  There is no support
built in for shadow passwords, but it's not much work to add (write if you
want the junk I added).  To read the shadow file, you do have to make nntpd
suid root :/

Technical Details
Message-ID: <EpzALE.HKH@fluffy.meow.org>
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: <350e700f.0@alijku02.edvz.uni-linz.ac.at>

Show Full Headers
Complete Article Headers
Message-ID: <EpzALE.HKH@fluffy.meow.org>
Subject: Re: Cnews nntpd and nntp_access?
Date: Tue, 17 Mar 1998 00:00:00 +0000
From: fluffy@meow.org (Fluffy)
References: <350e700f.0@alijku02.edvz.uni-linz.ac.at>
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: 334940202
Sender: news@fluffy.meow.org (Fluffy Owns Me)
X-Server-Date: 17 Mar 1998 19:39:14 GMT
X-Bozo: yes
X-Nntp-Posting-Host: localhost
Mail-Copies-To: never
Organization: Usenet, a division of Meow Industries
Newsgroups: news.software.nntp