🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Peter Huetmannsberger Tue, 17 Mar 1998 00:00
Cnews nntpd and nntp_access?
#26960
Author: Peter Huetmannsberger
Date: Tue, 17 Mar 1998 00:00
37 lines
1883 bytes
I was just wondering looking at the other postings here, wether anyone
still used that package. I seem to have problems writing a nntp_access
file that does what I want. 

I have some newsgroups that I want everyone to be able to read and post
to, and some newsgroups that I want people to see, and not be able to post to
from certain sites. 

If I write 

host 	both	post 	!to.be.excluded.newsgroup

Nobody on that host sees the excluded groups. (the way it should be!)  

Which I understand from the way the file
is written. However If I write 

host both 	no

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. 

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.

If anyone has any answers to that I would be very pleased to hear about them, 
maybe I am just too dum right now (severe lack of sleep!)

Peter H.
 

Re: Cnews nntpd and nntp_access?
#26938
Author: 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 :/

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads