Re: INN2 set up user authentication via ckpasswd

Liste des GroupesRevenir à ns nntp 
Sujet : Re: INN2 set up user authentication via ckpasswd
De : anon (at) *nospam* anon.anon (Anonymous)
Groupes : news.software.nntp
Date : 15. Jul 2025, 03:40:35
Autres entêtes
Organisation : To protect and to server
Message-ID : <1054f2u$3lfnu$1@paganini.bofh.team>
References : 1 2 3
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.



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