🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by vampire Wed, 13 Mar 2002 14:49
nntp auth ..
#57201
Author: vampire
Date: Wed, 13 Mar 2002 14:49
10 lines
1026 bytes
Hi all

any config sample to do that?? I have already tried ckpasswd -s in the
readers.conf file. It is not working that only repeatly prompt the password.
Any suggestion? No error in the log file. THX

Frank Cheung


Re: nntp auth ..
#57208
Author: Russ Allbery
Date: Wed, 13 Mar 2002 20:13
15 lines
1537 bytes
vampire <vampire@hkem.com> writes:

> any config sample to do that?? I have already tried ckpasswd -s in the
> readers.conf file. It is not working that only repeatly prompt the
> password.  Any suggestion? No error in the log file. THX

There's a sample configuration file that comes with INN, and additional
examples in the readers.conf manual page.

-- 
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: nntp auth ..
#57214
Author: Frank Cheung
Date: Thu, 14 Mar 2002 01:34
29 lines
1811 bytes
Hi

I have already scanned throught the man readers.conf. Its not really
helpful. I have already get use of what the manual say. It is not working.
Is there any other way to accomplish the task?

THX

Frank Cheung

"Russ Allbery" <rra@stanford.edu> wrote in message
news:yl4rjkgr9w.fsf@windlord.stanford.edu...
> vampire <vampire@hkem.com> writes:
>
> > any config sample to do that?? I have already tried ckpasswd -s in the
> > readers.conf file. It is not working that only repeatly prompt the
> > password.  Any suggestion? No error in the log file. THX
>
> There's a sample configuration file that comes with INN, and additional
> examples in the readers.conf manual page.
>
> --
> 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: nntp auth ..
#57215
Author: Russ Allbery
Date: Thu, 14 Mar 2002 01:55
49 lines
3042 bytes
Frank Cheung <frank@kakki.com> writes:

> I have already scanned throught the man readers.conf. Its not really
> helpful. I have already get use of what the manual say. It is not
> working.  Is there any other way to accomplish the task?

There is a very clearcut example in the manual page for how to use
ckpasswd -s:

    auth all {
        auth: "ckpasswd -s"
    }

    access full {
        users: *
        newsgroups: *
    }

It's pretty straightforward.

Perhaps the problem is that ckpasswd isn't working?  Here's the section of
the manual page for ckpasswd -s that has some cautions:

 -s  Check passwords against the result of getspnam(3) instead of
     getpwnam(3).  This function, on those systems that supports it, reads
     from /etc/shadow or similar more restricted files.  If you want to
     check passwords supplied to nnrpd(8) against system account
     passwords, you will probably have to use this option on most systems.

     Most systems require special privileges to call getspnam(3), so in
     order to use this option you may need to make ckpasswd setgid to some
     group (like group "shadow") or even setuid root.  ckpasswd has not
     been specifically audited for such uses!  It is, however, a very
     small program that you should be able to check by hand for security.

     This configuration is not recommended if it can be avoided, since the
     NNTP protocol has no way of protecting passwords from casual
     interception, and using system passwords to authenticate NNTP
     connections therefore opens you up to the risk of password sniffing.
     If you do use system passwords to authenticate connections, you
     should seriously consider only doing NNTP through ssh tunnels or over
     SSL.

-- 
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.
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