🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #569

Re: Problem with nntp/C-news/nfs interactions

#569
From: Mark Nagel
Date: Thu, 12 Jul 1990 15:57
20 lines
1628 bytes
Sm@bhpese.oz.au (Scott Merrilees) writes:

>The only reason I can see for nntp to need to be root is for the initial
>bind of the nntp server socket.  My nntp binds this socket, then does a
>setgid(news_group); setuid(news_owner); and then runs happily.  I only use
>nntp to server articles to nntp based news readers, so I can't comment on
>xfer, link, ihave/sendme etc.  This nntp 1.5.8.

If you run it out of inetd, you can even avoid this step, however,
on some systems (a Sequent Symmetry, for example), you cannot use
the low disk space avoidance code unless nntpd is running as root,
since it needs to read the master block of the device.  I used to
run as news before that code was added, now I have to leave it
running as root since I find it useful to have that safety net.
--
Mark Nagel
UC Irvine Department of ICS   +----------------------------------------+
ARPA: nagel@ics.uci.edu       | The world is coming to an end.         |
UUCP: ucbvax!ucivax!nagel     |   Please log off.                      |
Technical Details
Message-ID: <269C9E02.1535@ics.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!nagel
References: <1990Jul11.164853.1715@phri.nyu.edu> <1990Jul12.040744.15683@bhpese.oz.au>

Show Full Headers
Complete Article Headers
Message-ID: <269C9E02.1535@ics.uci.edu>
Subject: Re: Problem with nntp/C-news/nfs interactions
Date: Thu, 12 Jul 1990 15:57:54 +0000
From: nagel@esp.ics.uci.edu (Mark Nagel)
References: <1990Jul11.164853.1715@phri.nyu.edu> <1990Jul12.040744.15683@bhpese.oz.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!nagel
Newsgroups: news.software.nntp
Lines: 19