🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72527

Re: Group list for default user

#72527
From: Ivan A. Kosarev
Date: Sat, 29 Oct 2005 16:33
67 lines
3058 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:dk06hc$p1j$3@puck.litech.org...
> In article <3shgk1Fo7dfnU1@individual.net>,
> Ivan A. Kosarev <ikosarev@online.ru> wrote:
>>
>>Strange things happen with my INN. [...]
>
> Is this new, or did you just happen to notice it?

I just installed the INN and found that there is the problem.

>>However, once I used a telnet utility to logon to the news server and then
>>typed the "list" command, all the existing groups appear - whether they
>>actually should be accessible for unauthorized users or not.
>>
>>My readers.conf contains the following definitions:
>>---
>>auth "users" {
>>    auth: "/usr/local/news/bin/ckpasswd -f /usr/local/news/etc/userpasswd"
>>    default: <public>
>>}
>>
>>access "public" {
>>    users: "<public>"
>>    read: "!*, public.*"
>>    post: "!*, public.*, !public.announces"
>>}
>>
>>access "admin" {
>>    users: "me"
>>    newsgroups: "*"
>>}
>>---
>
> Well, there's definitely something wrong here, assuming any
> entries in your userpasswd file have usernames besides "me" and
> "<public>", because there's no access group for those users.

Shouldn't the "public" and "admin" access groups be access groups for the 
users?

So, could you please tell me how a corrected config should look for my case?

> Are you sure that's the whole readers.conf?

Yep, all other lines are commented. Anyway, that works as expected.

> If you're interested on figuring this out yourself, enable
> news.debug logging (by adding a line for "news.debug" in
> syslog.conf just like "news.notice" etc, and HUP'ing syslogd),
> and watch that log file as you connect in various ways.  It will
> tell you in great detail how readers.conf is being parsed.

I tried this by adding

news.debug    /dev/console

to my syslog.conf and rebooting. Well, I didn't see any new messages during 
a test session. Is it looks so there anything wrong with my system?

Thank you.

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Technical Details
Message-ID: <3shmhtFoc4oiU1@individual.net>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <3shgk1Fo7dfnU1@individual.net> <dk06hc$p1j$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <3shmhtFoc4oiU1@individual.net>
Subject: Re: Group list for default user
Date: Sat, 29 Oct 2005 20:33:00 +0400
From: "Ivan A. Kosarev" <ikosarev@online.ru>
References: <3shgk1Fo7dfnU1@individual.net> <dk06hc$p1j$3@puck.litech.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 67
X-Trace: individual.net +2yOcDARTJ1KExobgKFyawKX36Jz3zmL8ns7S1VVFSmaxaKWE8
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670