🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88497

Re: readers.conf authentication

#88497
From: The Doctor
Date: Sat, 10 Oct 2020 22:16
74 lines
2980 bytes
In article <rlsk9o$k3j$1@news.trigofacile.com>,
Julien à LIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi Jason,
>
>> Here is my configuration in 
>> /etc/news/readers.conf for external users:
>> 
>>      auth worldwide {
>>          hosts: "*"
>>          auth: "ckpasswd -s"
>>          default: <unauthenticated>
>>      }
>> 
>> 
>>      access authenticated {                # people
>with passwords
>>          users: "*"
>>          read: "*"
>>          post: "*"
>>      }
>> 
>>      access special {                      #
>people with extra access
>>          users: "tux"
>>          newsgroups: "*"
>>      }
>
>Note that you should add something for unauthenticated users, at the 
>very bottom of the readers.conf file:
>
>     access fail {
>         users: "<unauthenticated>,<unauthenticated>@*"
>         newsgroups: "!*"
>     }
>
>
>
>> I have also set the guid for the shadow group to ckpassd and I have 
>> created /etc/pam.d/nnrpd with what I think is the correct information 
>> based on documentation and man pages.
>
>Did you reload/restart INN to take into account new configuration?
>
>Anything in your news.err or news.notice log files?
>
>
>Does access correctly work with
>
>      auth test {
>          hosts: "*"
>          default: <ok>
>      }
>      access test {
>          users: "<ok>"
>          newsgroups: "local.test"  # or any other newsgroup you have
>      }
>
>To see whether you have access to this newsgroup only.
>

I have been trying this for years.

>-- 
>Julien ÉLIE
>
>« Je suis adroit de la main gauche et je suis gauche de la main
>   droite. » (Raymond Devos)


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
BC save the Province; on 24 October 2020, vote Liberal and not NDP!
Technical Details
Message-ID: <rltbs2$eb1$59@gallifrey.nk.ca>
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
References: <alpine.DEB.2.22.394.2010101557070.2041@theuse.net> <rlsk9o$k3j$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <rltbs2$eb1$59@gallifrey.nk.ca>
Subject: Re: readers.conf authentication
Date: Sat, 10 Oct 2020 22:16:34 +0000
From: doctor@doctor.nl2k.ab.ca (The Doctor)
References: <alpine.DEB.2.22.394.2010101557070.2041@theuse.net> <rlsk9o$k3j$1@news.trigofacile.com>
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: NetKnow News
Injection-Date: Sat, 10 Oct 2020 22:16:34 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1"; logging-data="14689"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
Lines: 73