🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60318

Re: readers.conf authorization problem???

#60318
From: Jeffrey M. Vinocur
Date: Tue, 10 Sep 2002 10:27
34 lines
2041 bytes
[ You posted to all of those groups and somehow managed to miss
  news.software.nntp, which is where this belongs.  Setting
  follow-ups there. ]

In article <alkbg3$ra0@netnews.hinet.net>,
Esther  <esther@ms7.mmh.org.tw> wrote:
>
>auth "network" {
>    hosts: "*"
>    auth: "ckpasswd -s"
>    default: "<all>"
>}
>
>access "network" {
>    users: "<all>"
>    newsgroups: "*, !junk, !control*"
>}
>
>  I saw the man page, it's should check the password from shadow file, but i 
>can't login, and if i chose don't check the password in client site, it's 
>will show newsgroup, 

You should get rid of the default: line and change the users:
line to "users: *" (because if ckpasswd works, it will set the
username to whatever the user logged in as).

Note that ckpasswd -s does not work on systems that use PAM (you
have to do something different on those).

And also note that news passwords are sent unencrypted, so you
should be very careful using system passwords for this.


Technical Details
Message-ID: <alkhdu$ekm$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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <alkbg3$ra0@netnews.hinet.net>

Show Full Headers
Complete Article Headers
Message-ID: <alkhdu$ekm$3@puck.litech.org>
Subject: Re: readers.conf authorization problem???
Date: Tue, 10 Sep 2002 10:27:10 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <alkbg3$ra0@netnews.hinet.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.groups,news.software.nntp
Followup-To: news.software.nntp
Organization: Litech Systems Design
Lines: 33
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1031653630 14998 208.48.41.224 (10 Sep 2002 10:27:10 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 10 Sep 2002 10:27:10 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)