Article View: news.software.nntp
Article #46077Re: inn and nntp authorisation
From: Russ Allbery
Date: Wed, 26 Apr 2000 00:00
Date: Wed, 26 Apr 2000 00:00
42 lines
2248 bytes
2248 bytes
Paul <esealp@maps.on> writes:
> I tried using the 'external file' open in nnrp.access but am failing to
> get it to work. It says the 'same format as this' so I a line in the
> nnrp.access file like:
> 192.168.1.*:/usr/local.news/etc/passwords
> Said file contains lines like this:
> 192.168.1.*:Read Post:user1:password1:*
> 192.168.1.*:Read Post:user2:password2:*
> [..]
> etc.
I definitely don't understand the external file thing and have never used
it; the man page seems a bit opaque on the subject. Does it work if you
include those lines directly in nnrp.access?
> But can it use the FreeBSD system password file with it's encrypted
> passwords and all? if so, could you enlighten me as to how, that woudl
> make life a lot easier.
It can....
If the third field is ``+'', then nnrpd(8) uses crypt(3) to
authenticate passed username and password. This might not work on
systems that use a shadow password file, since nnrpd normally doesn't
have the permissions to read that file. If nnrpd is started in
standalone mode, it tries to adjust its permissions so that it can
read the shadow file. See also the -g option in the manual page for
nnrpd(8).
Note the caveats, though. You may have to do some fiddling with the
permissions on the shadow password file and/or the setgid bit on nnrpd, or
start nnrpd as root in standalone mode and use -g.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylu2goshie.fsf@windlord.stanford.edu>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!not-for-mailReferences:
<8F21C36C1parrotpapa@192.168.1.4> <ylhfcp6a1v.fsf@windlord.stanford.edu> <8F22A7F2Aparrotpapa@192.168.1.4>Show Full Headers
Complete Article Headers
Message-ID: <ylu2goshie.fsf@windlord.stanford.edu> Subject: Re: inn and nntp authorisation Date: Wed, 26 Apr 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <8F21C36C1parrotpapa@192.168.1.4> <ylhfcp6a1v.fsf@windlord.stanford.edu> <8F22A7F2Aparrotpapa@192.168.1.4> 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!not-for-mail X-Deja-AN: 616070156 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp