Sujet : [solved] INN2 set up user authentication via ckpasswd
De : anon (at) *nospam* anon.anon (Anonymous)
Groupes : news.software.nntpDate : 15. Jul 2025, 04:35:50
Autres entêtes
Organisation : To protect and to server
Message-ID : <1054iah$3llei$1@paganini.bofh.team>
References : 1 2 3 4
Authentication works with the below configuration in readers.conf. Authentication also works with the commented lines uncommented. I suppose INN is choosing the first one that applies? Anyway I consider this issue mostly solved. Any pointers on a cleaner config would be appreciated.
I needed to include the full path to ckpasswd as it is not in system path. I also needed to make sure I was entering into mode reader before authenticating.
Thank you, Julien, for the help and the copious documentation. I will follow your advice for a more secure password hashing scheme. The default one does look rather weak.
auth "foreignokay" {
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
default: "<unauthenticated>"
}
access "authenticatedpeople" {
users: "*"
newsgroups: "*"
}
# auth "users" {
# auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
# default: "<unauthenticated>"
# }
access "restrictive" {
users: "<unauthenticated>"
newsgroups: "!*"
}