Re: INN2 set up user authentication via ckpasswd

Liste des GroupesRevenir à ns nntp 
Sujet : Re: INN2 set up user authentication via ckpasswd
De : iulius (at) *nospam* nom-de-mon-site.com.invalid (Julien ÉLIE)
Groupes : news.software.nntp
Date : 14. Jul 2025, 06:00:16
Autres entêtes
Organisation : Groupes francophones par TrigoFACILE
Message-ID : <10522t1$28l4l$1@news.trigofacile.com>
References : 1 2
User-Agent : Mozilla Thunderbird
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: "!*"
}
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.

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
--
Julien ÉLIE
« – Hou hou !
   – Ouille, ouille !
   – Ouf !
   – Où ouf ? » (Astérix)

Date Sujet#  Auteur
12 Jul 25 * INN2 set up user authentication via ckpasswd6Anonymous
13 Jul 25 `* Re: INN2 set up user authentication via ckpasswd5Anonymous
14 Jul 25  `* Re: INN2 set up user authentication via ckpasswd4Julien ÉLIE
15 Jul03:40   `* Re: INN2 set up user authentication via ckpasswd3Anonymous
15 Jul04:35    `* [solved] INN2 set up user authentication via ckpasswd2Anonymous
16 Jul06:09     `- Re: [solved] INN2 set up user authentication via ckpasswd1Julien ÉLIE

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal