🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57194

pam authentication for innd (pamckpasswd used)

#57194
From: Amol Patil
Date: Wed, 13 Mar 2002 14:41
38 lines
2197 bytes
Hi .
Want innd to use PAM authentication.

My requirements are as follows:
The administrator creates 4 local newsgroups and allows the users to 
post onto these groups (so this is like a local forum).
The users are authenticated before reading/posting the messages
from PAM. Already FTP and IMAP authentication are happening using
PAM (using pam_pgsql, with the userinfo in a pgsql database). 
Want to extend the same authentication mechanism to INND auth.


As a solution, I downloaded and compiled pamckpasswd and placed the nnrpd
file in /etc/pam.d and changed readers.conf file as stated. I still get the 
following error:

stdin auth_err ckpasswd: user admin does not exist

when I tried to log in as admin.
I'm trying this on Redhat Linux 7.1 machine.

Any idea, why is this happening? Somewhere I read that ckpasswd doesn't
work for Redhat Linux; is that the reason?
I also tried commenting that line in readers.conf so that only
auth: "pamckpasswd" is there in the auth block of readers.conf along with the
hosts: <hostname>


Can u give pointers to more documentation on pamckpasswd anywhere else?
Or point to any other ways of achieving the result?
Does the following entry in inn.conf affect me here? should I make it true?
nnrpperlauth:           false

Thanx and regards,
Amol
amol@myzus.com
(www.myzus.com)
Technical Details
Message-ID: <9a0d3f88.0203130641.216459b7@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!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9a0d3f88.0203130641.216459b7@posting.google.com>
Subject: pam authentication for innd (pamckpasswd used)
Date: Wed, 13 Mar 2002 14:41:13 +0000
From: amol@myzus.com (Amol Patil)
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!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 37
NNTP-Posting-Host: 202.54.115.169
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1016030473 31633 127.0.0.1 (13 Mar 2002 14:41:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Mar 2002 14:41:13 GMT