🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24463

Re: INN 1.7.2 & passwords in nnrp.access

#24463
From: Chris Bellomy
Date: Thu, 18 Dec 1997 00:00
26 lines
1748 bytes
Mike Wilson <mwilson@flash.net> wrote:
> > > If I am not mistaken the shadow files are readable only to root and the
> > > nnrpd is launched by news so you can't get a valid password read on a
> > > solaris machine unless you punch the crypted password in the old
> > > password field in /etc/passwd. I imagine it still works on older sunos
> > > password files.
>
> >         Actually, there is another solution... the patch is forthcoming.. ;)
>
> If it's the same "patch" that Chris originally wrote it uses setuid()
> among other things and requires the nnrpd to be started as root... This
> is less than desirable in most cases. Most of that "code" was handed
> over by me before I knew a better way to handle it.

Basically, that's right.  We call nnrpd from inetd (innd lives on
port 433) as root; every command except AUTHINFO begins with a
setuid() to news.  It's not perfect, but it's no worse than,
say, popper.

-- 
Chris Bellomy				FlashNet Communications
VP of System Operations 		Fort Worth, Texas
cbellomy@flash.net			(817)332-8883

Technical Details
Message-ID: <67butq$so0$1@excalibur.flash.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> <3496CE7B.E23837C5@flash.net> <34996B7E.5BFE39C7@flash.net> <3499727D.52B75B60@flash.net>

Show Full Headers
Complete Article Headers
Message-ID: <67butq$so0$1@excalibur.flash.net>
Subject: Re: INN 1.7.2 & passwords in nnrp.access
Date: Thu, 18 Dec 1997 00:00:00 +0000
From: Chris Bellomy <cbellomy@excalibur.flash.net>
References: <676gdq$9kg$1@ralph.vnet.net> <3496CE7B.E23837C5@flash.net> <34996B7E.5BFE39C7@flash.net> <3499727D.52B75B60@flash.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
X-Deja-AN: 299425881
Organization: Flashnet Communications, http://www.flash.net
Newsgroups: news.software.nntp