Article View: news.software.nntp
Article #48432ckpasswd options?
From: Giovanni Lopedote
Date: Mon, 18 Sep 2000 00:00
Date: Mon, 18 Sep 2000 00:00
48 lines
2060 bytes
2060 bytes
(real email address at the bottom of the page)
Hallo everyone, I'm running INN 2.3.0 and I want to leave some local
newsgroups accessible via the AUTHINFO USER/PASS command while allowing
access to all the others without a password, e.g:
local.* accessible by everyone
local.admin.* accessible by some authenthicated users
local.foo.* accessible to some other autenthicated users
All users don't need to have a shell account on the system. This means
ckpasswd should rely on a file with the users db.
I think this should be done this way:
auth "all_users" {
auth: "/usr/local/news/bin/ckpasswd <?>"
hosts: *
# ckpasswd returns user <ADMIN>@internet
# or it returns <FOO>@internet
# or it fails and then the auth is the default:
default: <UNKNOWN>@internet
}
access "all" {
users: <UNKNOWN>@internet
newgroups: "local.*,!local.admin.*,!local.foo.*"
}
access "admins" {
users: <ADMIN>@internet
newgroups: "local.*,!local.foo.*"
}
access "foos" {
users: <FOO>@internet
newgroups: "local.*,!local.admin.*"
}
The trouble is: what are the options of ckpasswd? How do I create the users
db and how I tell ckpasswd to use it for authenthication? I wasn't able to
find the info in the documentation... hope you can help.
Thanks
Giovanni Lopedote
neuromante@gmx.net
Technical Details
Message-ID:
<8q5oce$h57$1@nread1.inwind.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <8q5oce$h57$1@nread1.inwind.it> Subject: ckpasswd options? Date: Mon, 18 Sep 2000 00:00:00 +0000 From: "Giovanni Lopedote" <nospamplease@gmx.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 671310017 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Complaints-To: abuse@inwind.it X-Trace: nread1.inwind.it 969303246 17575 212.141.254.184 (18 Sep 2000 18:54:06 GMT) Organization: WIND X-MSMail-Priority: Normal NNTP-Posting-Date: 18 Sep 2000 18:54:06 GMT Newsgroups: news.software.nntp