🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72529

Re: Group list for default user

#72529
From: Jeffrey M. Vinocur
Date: Sat, 29 Oct 2005 16:43
52 lines
3034 bytes
In article <3shmhtFoc4oiU1@individual.net>,
Ivan A. Kosarev <ikosarev@online.ru> wrote:
>"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
>news:dk06hc$p1j$3@puck.litech.org...
>
>> 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?

INN matches the users: line in an access group to decide if it
should be used.  So in your case, if the identity assigned is
"<public>" the "public" group will be used, and if the identity
assigned is "me" the "admin" group will be used, but otherwise no
access group will apply.

The default: line only applies to before ckpasswd is run; after
ckpasswd checks the password, the authenticated username is used
for matching access groups.


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

Do you want all authenticated users to match the admin group?


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

Oh.  I should have noticed this before.

Your test isn't using readers.conf, because it's coming from an
IP address that is listed in your incoming.conf as a peer.  If
you want to be testing readers.conf, you have to come from a
different IP address or start each session with MODE READER.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dk08rf$p1j$5@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> <dk06hc$p1j$3@puck.litech.org> <3shmhtFoc4oiU1@individual.net>

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