Article View: news.software.nntp
Article #92271Re: INN2 set up user authentication via ckpasswd
From: Anonymous
Date: Tue, 15 Jul 2025 02:40
Date: Tue, 15 Jul 2025 02:40
66 lines
3375 bytes
3375 bytes
On Mon, 14 Jul 2025 07:00:16 +0200
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> Hi,
>
> > I added this to readers.conf:
> >
> > auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
>
> What is the whole contents of your readers.conf file?
> It needs at least something like:
>
> auth "users" {
> auth: "ckpasswd -f /etc/news/userdb"
> default: "<unauthenticated>"
> }
>
> access "authenticatedpeople" {
> users: "*"
> newsgroups: "*"
> }
>
> access "restrictive" {
> users: "<unauthenticated>"
> newsgroups: "!*"
> }
I pasted this into readers.conf, removing all other lines. I still get the message, "authentication will fail."
>
> See https://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html
> The rights for authenticated people (and for unauthenticated people)
> have to be explained.
It's not that I need an explanation of the rights--I need an explanation of configuration that will actually work. An example of a working configuration that is working in real life on an active install would be helpful.
> > I created a test user and got auth failure.
>
> Here, if you successfully authenticate with the "test" user, his
> assigned identity is "test" in the "users" keyword of access blocks.
> When authentication fails, the identity is "<unauthenticated>" (the
> default value of the auth block).
>
>
> > ~ htpasswd -nbd test test > /etc/news/userdb
>
> More secure hashes are recommended, like ones obtained with:
> openssl passwd -5 test
>
> https://www.eyrie.org/~eagle/software/inn/docs/ckpasswd.html
My goals are simple:
Nobody can post without having a entry in the user list. Only I can create such an entry. No PAM, no shadows, just a list of usernames and password hashes is all I want, so that INN2 will check against this list and deny access to any not included in the list.
At this point, after looking at the documention, it appears there is not enough information to proceed. I have already spent an inordinate amount of time poking around and this is where I am stuck.
Technical Details
Message-ID:
<1054f2u$3lfnu$1@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!ygg-lux.newsdeef.eu!lux-feed1.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mailReferences:
<104und1$2shgo$1@paganini.bofh.team> <104v2af$31t1u$1@paganini.bofh.team> <10522t1$28l4l$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <1054f2u$3lfnu$1@paganini.bofh.team> Subject: Re: INN2 set up user authentication via ckpasswd Date: Mon, 14 Jul 2025 21:40:35 -0500 From: Anonymous <anon@anon.anon> References: <104und1$2shgo$1@paganini.bofh.team> <104v2af$31t1u$1@paganini.bofh.team> <10522t1$28l4l$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!ygg-lux.newsdeef.eu!lux-feed1.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail Newsgroups: news.software.nntp Organization: To protect and to server Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Date: Tue, 15 Jul 2025 02:40:31 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="3849982"; posting-host="LPXNb4o6piwg/tul7aV4sg.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; X-Notice: Filtered by postfilter v. 0.9.3 X-TOR-Router: sha256:MmExMjphODAwOjI6MTo0NTo4MDoxNTg6Mjc= --