Article View: news.software.nntp
Article #88495Re: readers.conf authentication
From: Julien ÉLIE
Date: Sat, 10 Oct 2020 15:34
Date: Sat, 10 Oct 2020 15:34
60 lines
2754 bytes
2754 bytes
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.
--
Julien ÉLIE
« Je suis adroit de la main gauche et je suis gauche de la main
droite. » (Raymond Devos)
Technical Details
Message-ID:
<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-mailReferences:
<alpine.DEB.2.22.394.2010101557070.2041@theuse.net>Show Full Headers
Complete Article Headers
Message-ID: <rlsk9o$k3j$1@news.trigofacile.com> Subject: Re: readers.conf authentication Date: Sat, 10 Oct 2020 17:34:11 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <alpine.DEB.2.22.394.2010101557070.2041@theuse.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-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 10 Oct 2020 15:34:16 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a7750038b041a9f7e48266.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:38b0:41a9:f7e4:8266"; logging-data="20595"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 In-Reply-To: <alpine.DEB.2.22.394.2010101557070.2041@theuse.net> Content-Language: fr