🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Anand Shah Fri, 02 May 2003 08:21
Authentication error
#65122
Author: Anand Shah
Date: Fri, 02 May 2003 08:21
53 lines
2317 bytes
hello sir,

my innd deamon is running perfectly.
but it gives me an error when i am trying to open in mozzila.
i have two user account on my syatem 
1) root
2)anand
i have created a news-group account with name "anand" using mozilla
browser.

at first time it will show me all system newsgroups like control &
junk etc.
in anand account.

but after that i have return access rights for anand in readers.conf.
which is as follows:
##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"
}

when ever i start mozilla mail & newsgroups it will display the above
two users : anand & root
but when i select user "anand" & then click "subscribe to newsgroup"
it will ask for username & password. i give username as "anand" & its
password.
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 i remove the auth part then it gives me error that "you are no
longer to talk."
pls help me out
Re: Authentication error
#65146
Author: Jeffrey M. Vinocur
Date: Sat, 03 May 2003 12:11
68 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads