Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

INN2: authentication

7 views
Skip to first unread message

Kyonshi

unread,
Feb 1, 2024, 11:05:04 AMFeb 1
to
I am trying to set up INN2 right now, and I can access it as localhost.
What doesn't seem to work is authentication from remote. I have this
defined in my readers.conf right now which should give me a way to
authenticate with a single text file containing username:password
combinations. I previously tried with the database option, but that
didn't work either.

auth all {
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/newsuse"
}
access full {
users: *
newsgroups: *
}


I am wondering if I even can properly call the ckpasswd program with
this path. (the path is where the program is located on this system)

Ivo Gandolfo

unread,
Feb 1, 2024, 11:59:34 AMFeb 1
to
On 01/02/2024 16:47, Kyonshi wrote:
>
>
> I am wondering if I even can properly call the ckpasswd program with
> this path. (the path is where the program is located on this system)


The correct way (this is a working example, adapt to your system):

cat /etc/news/readers.conf

# Setup auth for user's
auth user {
hosts: *
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
default: <FAIL>
}

# If the user if autenticated use this access
access all {
users: "user,*@your.host.here.com, !localhost, !<FAIL>*"
newsgroups: *
access: "RPN"
perlfilter: true
}

# If user don't have do login, see (and post) only on local group
access fail {
users: "<FAIL>*"
newsgroups: !*,local.*
access: "RP"
perlfilter: true
}



Sincerely

--
Ivo Gandolfo

Kyonshi

unread,
Feb 1, 2024, 1:35:05 PMFeb 1
to
Ah, that's how this is supposed to work. I didn't get that from the
documentation at all. Thanks! Gonna try that out.
0 new messages