🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72526

Re: Group list for default user

#72526
From: Jeffrey M. Vinocur
Date: Sat, 29 Oct 2005 16:03
48 lines
2399 bytes
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?


>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.

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


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.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <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!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <3shgk1Fo7dfnU1@individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <dk06hc$p1j$3@puck.litech.org>
Subject: Re: Group list for default user
Date: Sat, 29 Oct 2005 16:03:56 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3shgk1Fo7dfnU1@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!postnews.google.com!news4.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 48
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1130601836 25651 66.218.0.75 (29 Oct 2005 16:03:56
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 29 Oct 2005 16:03:56 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)