Article View: news.software.nntp
Article #65146Re: Authentication error
From: Jeffrey M. Vinocur
Date: Sat, 03 May 2003 12:11
Date: Sat, 03 May 2003 12:11
68 lines
2694 bytes
2694 bytes
In article <f4190411.0305020021.7e376690@posting.google.com>,
Anand Shah <anandmithil_shah@yahoo.com> wrote:
>
>##access right for anand
>auth "anand"{
> hosts: "*"
> auth:"pamckpasswd"
>}
>access "anand" {
> users : "anand"
> read : "comp.os,aztec.private"
> post : "aztec.private"
>}
>##access right for root
>auth "root"{
> hosts: "*"
> auth:"pamckpasswd"
>}
>access "root" {
> users : "anand"
> read : "comp.os,aztec.private"
> post : "comp.os"
>}
You actually want to have all the auth blocks first, and then the
access blocks. Much less confusing -- the auth blocks refer to a
method use to authenticate connections, not users themselves.
auth "password" {
hosts: "*"
auth:"pamckpasswd"
}
access "anand" {
users : "anand"
read : "comp.os,aztec.private"
post : "aztec.private"
}
access "root" {
users : "anand"
read : "comp.os,aztec.private"
post : "comp.os"
}
You probably mean comp.os.* there?
>the password is the same which i have given for local account "anand"
>on my system
>but it gives me authentication error
>here for yr information i have not pamckpasswd file in my
>"/usr/local/news/bin/auth/passwd"
>i also try with ckpasswd which is available in my
>"/usr/local/news/bin/auth/passwd"
If you need to use PAM to authenticate (Redhat and similar), then
you can get pamckpasswd here:
http://www.mathie.cx/~graeme/software/pamckpasswd.tar.gz
If you have normal shadowed passwords, make sure ckpasswd is SGID
or SUID so that it can access the shadowed password file.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<b90bkr$e40$2@puck.litech.org>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.litech.org!not-for-mailReferences:
<f4190411.0305020021.7e376690@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <b90bkr$e40$2@puck.litech.org> Subject: Re: Authentication error Date: Sat, 03 May 2003 12:11:07 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <f4190411.0305020021.7e376690@posting.google.com> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 67 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1051963867 14464 66.218.0.75 (3 May 2003 12:11:07 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sat, 3 May 2003 12:11:07 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)