Article View: news.software.nntp
Article #91533Re: INN2: authentication
From: Kyonshi
Date: Thu, 01 Feb 2024 18:34
Date: Thu, 01 Feb 2024 18:34
42 lines
1912 bytes
1912 bytes
On 2/1/2024 5:59 PM, Ivo Gandolfo wrote:
> On 01/02/2024 16:47, Kyonshi wrote:
>>
>>
>> I am wondering if I even can properly call the ckpasswd program with
>> this path. (the path is where the program is located on this system)
>
>
> The correct way (this is a working example, adapt to your system):
>
> cat /etc/news/readers.conf
>
> # Setup auth for user's
> auth user {
> hosts: *
> auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
> default: <FAIL>
> }
>
> # If the user if autenticated use this access
> access all {
> users: "user,*@your.host.here.com, !localhost, !<FAIL>*"
> newsgroups: *
> access: "RPN"
> perlfilter: true
> }
>
> # If user don't have do login, see (and post) only on local group
> access fail {
> users: "<FAIL>*"
> newsgroups: !*,local.*
> access: "RP"
> perlfilter: true
> }
>
>
>
> Sincerely
>
Ah, that's how this is supposed to work. I didn't get that from the
documentation at all. Thanks! Gonna try that out.
Technical Details
Message-ID:
<qp4t8k-l8q.ln1@moria.erebor.sync.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<21rs8k-gbo.ln1@moria.erebor.sync.net> <upgilh$i67g$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <qp4t8k-l8q.ln1@moria.erebor.sync.net> Subject: Re: INN2: authentication Date: Thu, 1 Feb 2024 19:34:05 +0100 From: Kyonshi <gmkeros@gmail.com> References: <21rs8k-gbo.ln1@moria.erebor.sync.net> <upgilh$i67g$1@paganini.bofh.team> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient Spider Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:qS886ZjTV527eOPZvBMQ7+P4rEM= Content-Language: en-US In-Reply-To: <upgilh$i67g$1@paganini.bofh.team>