🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49502

Re: nnrp.access question

#49502
From: Russ Allbery
Date: Sun, 24 Dec 2000 12:17
26 lines
2184 bytes
martoQ <goto@hell.com> writes:

> I am currently trying to get nnrp.access/nnrpd to utilize the crypt
> subroutine as not to send plaintext passwords to and from my server.

There isn't any way in the NNTP protocol currently to do authentication
without clear-text passwords without using AUTHINFO GENERIC and customized
client support that hasn't been standardized.  crypt just determines what
happens to the cleartext password once it's send to the server.

> Unfortunately I simply cannot get it to work.  I am running redhat 6.2,
> and Inn 2.2.2-3 and will be upgrading to inn-2.3.0 pretty soon. I am
> also running shadow passwords.  Basically, I have tried putting the + in
> the third field of the nnrp.access file.  This should in turn have inn
> auth against my linux shadow passwords correct?

Yes, but nnrpd has to be able to read the shadow password file.  This may
require various permission changes (you don't want to run nnrpd setuid
root).  In INN 2.3, ckpasswd -s is used to check shadow passwords, and may
require making ckpasswd setuid root or setgid to some group that can read
the shadow file; ckpasswd is thankfully a shorter program and easier to
audit.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylpuiirp2w.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!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!wn1feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <MPG.1471b6459d8376ac989682@news.nycap.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylpuiirp2w.fsf@windlord.stanford.edu>
Subject: Re: nnrp.access question
Date: Sun, 24 Dec 2000 12:17:11 +0000
From: Russ Allbery <rra@stanford.edu>
References: <MPG.1471b6459d8376ac989682@news.nycap.rr.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!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!wn1feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 25
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)