🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24409

Re: INN 1.7.2 & passwords in nnrp.access

#24409
From: Dan Foster
Date: Tue, 16 Dec 1997 00:00
33 lines
1828 bytes
In article <676q31$goa$2@news1.exit109.com>,
>Jeremy  <jeremy@exit109.com> wrote:
>>Todd Faulkner <comstar@vnet.net> wrote:
>
>> I am running inn-1.7.2 under Solaris 2.6 on a sparc 20. I want to 
>> be able to setup username and password verification for news server
>> access. I want inn to check the passwd & shadow files for user access.
>> 
>> I setup the nnrp.access file like this:
>> 
>> 166.82.*:Read Post:+:+:
>> 
>> According to the FAQ that should make the user enter a valid username
>> and password. It does require them to enter one, but always fails.
>
>If you're using shadowed passwords, it will fail, because only root
>can read the shadow file and nnrpd is running as news.
>
>I don't know if there's a fix for this other than hacking the code
>or not using shadowed passwords.

There's always taking the cyrus imap approach which supports shadowed
passwords (even though daemon runs as non-root) by sending requests to
a daemon on the machine which does nothing but password lookups (and
runs as root). Usual caveats follows in building a secure interface.

Might be a reasonably portable approach if modified nnrpd to do something
like that?

-Dan

Technical Details
Message-ID: <676r0u$1bi6$1@node6.frontiernet.net>
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
References: <676gdq$9kg$1@ralph.vnet.net> <676q31$goa$2@news1.exit109.com>

Show Full Headers
Complete Article Headers
Message-ID: <676r0u$1bi6$1@node6.frontiernet.net>
Subject: Re: INN 1.7.2 & passwords in nnrp.access
Date: Tue, 16 Dec 1997 00:00:00 +0000
From: dsf@node6.frontiernet.net (Dan Foster)
References: <676gdq$9kg$1@ralph.vnet.net> <676q31$goa$2@news1.exit109.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!not-for-mail
X-Deja-AN: 298809353
X-Complaints-To: abuse@frontiernet.net
Organization: Frontier Internet
Newsgroups: news.software.nntp