Thread View: news.software.nntp
5 messages
5 total messages
Started by Amol Patil
Wed, 13 Mar 2002 14:41
pam authentication for innd (pamckpasswd used)
Author: Amol Patil
Date: Wed, 13 Mar 2002 14:41
Date: Wed, 13 Mar 2002 14:41
38 lines
2197 bytes
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)
Re: pam authentication for innd (pamckpasswd used)
Author: Jeffrey M. Vinocur
Date: Wed, 13 Mar 2002 15:40
Date: Wed, 13 Mar 2002 15:40
28 lines
1753 bytes
1753 bytes
In article <9a0d3f88.0203130641.216459b7@posting.google.com>, Amol Patil <amol@myzus.com> wrote: > >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 Try a user who is not "special" -- I wonder if "admin" is disabled by default. >Can u give pointers to more documentation on pamckpasswd anywhere else? Just the docs that came with it, and Graeme who reads this group. >Does the following entry in inn.conf affect me here? should I make it true? >nnrpperlauth: false Definitely not, leave it false. -- Jeffrey M. Vinocur jeff@litech.org
Re: pam authentication for innd (pamckpasswd used)
Author: Amol Patil
Date: Fri, 15 Mar 2002 06:42
Date: Fri, 15 Mar 2002 06:42
46 lines
2282 bytes
2282 bytes
Hi.
> >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
> Try a user who is not "special" -- I wonder if "admin" is
> disabled by default.
Gives me the same error for other users as well.
Is it true that ckpasswd doesn't work for Linux?
All I'm trying to do now is making changes in the /etc/news/readers.conf
file and the PAM config file /etc/pam.d/nnrpd.
The file readers.conf currently looks like this:
auth "UMS" {
#hosts: "*"
#default: "<localhost>"
hosts: "localhost, 127.0.0.1, stdin"
auth: "ckpasswd -f /etc/news/readers.passwd"
auth: "pamckpasswd"
}
# Grant that specific identity access to read and post to any newsgroup.
access "UMS" {
users: "*"
newsgroups: "*"
}
The file /etc/news/readers.passwd is missing in the directory.
If ckpasswd works for linux, where should I find this file?
(I'm doing this with inn-2.3.1 on Redhat7.1
> >Can u give pointers to more documentation on pamckpasswd anywhere else?
> Just the docs that came with it, and Graeme who reads this group.
Had sent a mail to Graeme also. Will send one again.
THanx and regards,
Amol
Re: pam authentication for innd (pamckpasswd used)
Author: Russ Allbery
Date: Fri, 15 Mar 2002 19:08
Date: Fri, 15 Mar 2002 19:08
28 lines
2028 bytes
2028 bytes
Amol Patil <amol@myzus.com> writes:
> All I'm trying to do now is making changes in the /etc/news/readers.conf
> file and the PAM config file /etc/pam.d/nnrpd. The file readers.conf
> currently looks like this:
> auth "UMS" {
> #hosts: "*"
> #default: "<localhost>"
> hosts: "localhost, 127.0.0.1, stdin"
> auth: "ckpasswd -f /etc/news/readers.passwd"
> auth: "pamckpasswd"
> }
> The file /etc/news/readers.passwd is missing in the directory. If
> ckpasswd works for linux, where should I find this file? (I'm doing
> this with inn-2.3.1 on Redhat7.1
You have to create it yourself. It's not part of INN; it's the usernames
and passwords for your users.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: pam authentication for innd (pamckpasswd used)
Author: Jeffrey M. Vinocur
Date: Sun, 17 Mar 2002 18:46
Date: Sun, 17 Mar 2002 18:46
30 lines
2038 bytes
2038 bytes
In article <9a0d3f88.0203142242.3fef3ded@posting.google.com>, Amol Patil <amol@myzus.com> wrote: > >Is it true that ckpasswd doesn't work for Linux? Please read the discussion that I am currently having with Mysterious Traveller in this newsgroup. It should clarify things. >The file /etc/news/readers.passwd is missing in the directory. >If ckpasswd works for linux, where should I find this file? If you want to use separate passwords for news, you can use ckpasswd as I describe in the other thread. If you want to use system passwords (which is a bad idea) you need pamckpasswd. >> >Can u give pointers to more documentation on pamckpasswd anywhere else? >> Just the docs that came with it, and Graeme who reads this group. >Had sent a mail to Graeme also. Will send one again. You should not be pestering Graeme. He reads this group, and one email should certainly suffice. -- 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