🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21965

Re: Allowing outside your domain access to the newserver

#21965
From: Chris Bellomy
Date: Mon, 29 Sep 1997 00:00
40 lines
2284 bytes
Robert Hardesty <hardesty@bedford.progress.com> wrote:

: I am trying to figure out away to allow users from outside my domain access
: to my newserver. I am running inn 1.5.1.  I dont want just anyone/everyone to
: have access, but users who have registered accounts and want to use netscape
: or some other news reader instead of looging into one of our servers and
: using shell based tin/trn/srln when they are
: not in my domain.  I dont want have to enter in all the domains that the users
: are connecting from. I am looking for away that they are prompted for their
: username/password combo to gain access to the news server.  I am not sure
: how to set this up with inn.

: Any ideas?

If your system uses straight getpwnam() to do passwd authentication,
you can set up nnrp.access like this

# Default
*:R P:+:+:*

and with your off-domain users in /etc/passwd (no shell, I hope)
they can get in using the AUTHINFO command.  If your system uses
shadow passwords, however, the solution is more complicated --
nnrpd.c requires a few changes, PLUS you must figure out a way
for nnrpd to read /etc/shadow (either chmod 440 /etc/shadow and
put user news in the appropriate group, or set up an alternate
port for off-domain users, call nnrpd as root from inetd on that
port, and add setuid() to the beginning of every command other than
AUTHINFO in nnrpd.c so that nnrpd runs as user news once auth-
entication takes place).

Damn, that sentence was long.

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

Technical Details
Message-ID: <60ol2u$8ul$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: <60ohso$d5q@progress.progress.com>

Show Full Headers
Complete Article Headers
Message-ID: <60ol2u$8ul$1@excalibur.flash.net>
Subject: Re: Allowing outside your domain access to the newserver
Date: Mon, 29 Sep 1997 00:00:00 +0000
From: Chris Bellomy <cbellomy@excalibur.flash.net>
References: <60ohso$d5q@progress.progress.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: 276465354
Sender: cbellomy@flash.net
Distribution: world
Organization: Flashnet Communications, http://www.flash.net
Newsgroups: news.software.nntp