🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #440

6.4.3: nn not owned by the usenet account problem.

#440
From: That's MR. Idiot to you
Date: Tue, 22 May 1990 16:25
22 lines
1683 bytes
This is a fairly trivial problem (in the massive scheme of things) but I
just tracked it down so I thought I'd mention it. nn 6.3 ran setuid to its
owner. nn 6.4, as installed doesn't seem to. One offshoot of that is that
you can no longer set up a shell script to run the nn expire when the usenet
expire finishes, which is what we do.

The error is something on the order of "Check GATE file". the problem is
that, not being setuid, the other process can't create the file the master
looks for to receive messages. All our usenet stuff is owned by usenet,
nn is owned by me.

The correct way to handle this is to make nn owned by the same user as the
news system (or put the nnadmin =EYW in cron, but that assumes you know when
expire will finish). The quick way I fixed it for now is to make nnadmin
setuid to chuq, but I'm sure that opens up some interesting security holes,
so I'm going to change that fairly soon.

-- 

Chuq Von Rospach   <+>   chuq@apple.com   <+>   [This is myself speaking]

It isn't easy being green.		-- Kermit
Technical Details
Message-ID: <41256@apple.Apple.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!snorkelwacker!apple!chuq

Show Full Headers
Complete Article Headers
Message-ID: <41256@apple.Apple.COM>
Subject: 6.4.3: nn not owned by the usenet account problem.
Date: Tue, 22 May 1990 16:25:34 +0000
From: chuq@Apple.COM (That's MR. Idiot to you)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!snorkelwacker!apple!chuq
Newsgroups: news.software.nn
Organization: Fictional Reality. We can write it for you wholesale
Lines: 22
Posted: Tue May 22 17:25:34 1990