🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by tin Fri, 01 Jun 2001 06:16
how to using pamckpasswd.shar?
#52662
Author: tin
Date: Fri, 01 Jun 2001 06:16
9 lines
972 bytes
hi all:
my i know how to using pamckpasswd.shar ?
how to plug in PAM?

thx :)



Re: how to using pamckpasswd.shar?
#52653
Author: Jeffrey M. Vinocur
Date: Fri, 01 Jun 2001 11:27
15 lines
1350 bytes
In article <3b17334f$1@newsgate.hknet.com>, tin <tin@tinwong.com> wrote:
>
>my i know how to using pamckpasswd.shar ?
>how to plug in PAM?

Have you extracted the archive?  Have you read the readme?  Tell
us where you got stuck.  (If you still have the .shar and nothing
else, open it up in a text editor and read the top.)



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: how to using pamckpasswd.shar?
#52654
Author: tin
Date: Fri, 01 Jun 2001 18:26
44 lines
1796 bytes
i already using Graeme tar.gz file
still cannot authenticate
i think is the ckpasswd cannot read my /etc/news/readers.passwd   file

my step is
1. tar -zxvf pamckpasswd.tar.gz
2. /pamckpasswd/make
3. cp /pamckpasswd/pamckpasswd /bin
4. cp nnrpd /etc/pam.d/
5. cp /pamckpasswd/readers.deny /etc/news/readers.deny
6. cp /etc/shadow /etc/news/readers.passwd
7. chmod u+s /etc/news/readers.passwd
8. change /etc/news/readers.conf
auth "myhost.com" {
        auth: "ckpasswd -f /etc/news/readers.passwd"
        auth: "pamckpasswd"
}

access "fail" {
        newsgroups: !*
}

access "full" {
        users: *
        newsgroups: *
}

i using RH7.1
install by RPMS
outlook express client

is my step wrong ,or i missing somethings?
please help me

thank you very much


tin wong





Re: how to using pamckpasswd.shar?
#52656
Author: Jeffrey M. Vinocur
Date: Fri, 01 Jun 2001 21:16
29 lines
1641 bytes
In article <3b17de7f@newsgate.hknet.com>, tin <tin@tinwong.com> wrote:
>
>6. cp /etc/shadow /etc/news/readers.passwd

Err, that's not useful, you can delete it.


>7. chmod u+s /etc/news/readers.passwd

That doesn't even make sense -- the thing you need to make SUID
is the pamckpasswd executable.


>        auth: "ckpasswd -f /etc/news/readers.passwd"

Delete this line too.


>is my step wrong ,or i missing somethings?

Well, you should be checking your logs to see what is wrong...
/var/log/messages as well as all of the news logs.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: how to using pamckpasswd.shar?
#52937
Author: Stephen Byrne
Date: Tue, 19 Jun 2001 21:42
33 lines
2105 bytes
Hi,
I am also try to get pamckpasswd to work, and this is what i've done so far:

I am running inn2.3.2 on RH7.1
1.  I successfuly extracted pamckpasswd.shar and compiled it
2.  Copied nnrpd to /etc/pam.d
3.  Copied pamckpasswd to /usr/local/news/bin/auth/passwd
-rwsr-xr-x    1 news     news        15717 Jun 15 13:58 pamckpasswd
Is this supposed to be owned by root?  I ran chmod u+s as root on this file.

4.  Copied readers.deny to /etc/news
5.  Readers.conf

auth "localhost" {
        hosts: "localhost, 127.0.0.1, stdin"
#        auth: "ckpasswd -f /etc/news/readers.passwd"
        auth: "pamckpasswd"
}

access "fail" {
        newsgroups: !*
}

access "full" {
        users: *
        newsgroups: *
}

Thanks,

Stephen Byrne

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