🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92270

[solved] INN2 set up user authentication via ckpasswd

#92270
From: Anonymous
Date: Tue, 15 Jul 2025 03:35
25 lines
2164 bytes
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: "!*"
}
Technical Details
Message-ID: <1054iah$3llei$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-srl.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
References: <104und1$2shgo$1@paganini.bofh.team> <104v2af$31t1u$1@paganini.bofh.team> <10522t1$28l4l$1@news.trigofacile.com> <1054f2u$3lfnu$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <1054iah$3llei$1@paganini.bofh.team>
Subject: [solved] INN2 set up user authentication via ckpasswd
Date: Mon, 14 Jul 2025 22:35:50 -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> <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-srl.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=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 15 Jul 2025 03:35:46 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3855826"; posting-host="MM4ma1GAe/3MuOa8+Uzw9w.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:MmEwZDpiYmM3OjA6MTo6M2Q1 --