🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71733

Re: Authorisation from Users on a Linux system

#71733
From: Jeffrey M. Vinocur
Date: Mon, 30 May 2005 23:00
72 lines
2802 bytes
In article <1117472357.196116.275410@g49g2000cwa.googlegroups.com>,
 <themf@graffiti.net> wrote:
>
>Jeffrey M. Vinocur wrote:
>
>> Probably your readers.conf is wrong.  Hard to say without seeing
>> it.
>
>Here is the -relevant- bit :) :

If there's anything else in there besides comments, it's probably
relevant.  Somehow readers.conf confuses people easily.


>auth: "localhost" {
>      hosts:    "localhost", 127.0.0.1, stdin"
>      default    "<localhost>"
>}
>
>access "localhost" {
>     users:   "<localhost>"
>     newsgroups: "*"
>     access: RPA
>     auth: "ckpasswd -s"  (this line is currently commented out)
>}

Right, that definitely won't work; I'm surprised it doesn't die
loudly.  The colon on the first line doesn't belong there,
there's one missing on the third line, and the auth: line you say
is commented out belongs in the auth block, not the access block.
Also, your original post suggested that you want to allow
authenticated access from anywhere, not just localhost.

Try this:

auth "anywhere" {
    hosts: "*"
    auth: "ckpasswd -s"
}

auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: "<localhost>"
}

access "general" {
    users: "*"
    newsgroups: "*"
    access: RPA
}

access "readonly" {
    users: "<localhost>"
    read: "*"
    post: "!*"
}


>> >Should I try "pwcheck" instead?
>>
>> No.
>
>So, what's it for, and Radius, just out of curiosity?

pwcheck has since been retired, and I don't recall what it did
offhand.  radius is for authenticating users against a RADIUS
server (you'd know if you had one of those).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <d7g5ua$n2b$1@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!news.glorb.com!news.litech.org!not-for-mail
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <d7d9u7$od3$1@puck.litech.org> <1117472357.196116.275410@g49g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <d7g5ua$n2b$1@puck.litech.org>
Subject: Re: Authorisation from Users on a Linux system
Date: Mon, 30 May 2005 23:00:26 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <d7d9u7$od3$1@puck.litech.org> <1117472357.196116.275410@g49g2000cwa.googlegroups.com>
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!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 72
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1117494026 23627 66.218.0.75 (30 May 2005 23:00:26
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 30 May 2005 23:00:26 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)