🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65439

Re: A newbie INN install problem

#65439
From: Jeffrey M. Vinocur
Date: Sat, 24 May 2003 14:44
28 lines
2130 bytes
In article <banfsc$68s$1@n4vu.com>, John Miller  <usenet@n4vu.com> wrote:
>
>What programs need to be SUID or SGID if the entire news subsystem is owned
>by news?  (I remember that from cnews, but not INN.)  

It's possible to have a configuration with no such files, I
believe.  But by far the most common configuration is to have
inndstart as SUID root (so that it can bind to port 119); most
people also have startinnfeed as SUID root.

And if you're using `ckpasswd -s`, you most likely need ckpasswd
to be SGID to something that can read the shadow password file,
although this is not the default (or recommended) configuration.


>All too often people do things as root, and in the process, creat root-owned
>files in the news subsystem and break things that way.  

Oh, indeed.  Everything in $pathspool and $pathdb, in particular,
needs to be writable by news.  (I think that making it all owned
by root, group news, g+ws, does work, but there's not so much
benefit to that configuration.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bao0gs$tsi$1@puck.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <bakrfk$212$1@news.fas.harvard.edu> <bal2qe$sej$1@n4vu.com> <bal8nl$gmd$1@puck.litech.org> <banfsc$68s$1@n4vu.com>

Show Full Headers
Complete Article Headers
Message-ID: <bao0gs$tsi$1@puck.litech.org>
Subject: Re: A newbie INN install problem
Date: Sat, 24 May 2003 14:44:44 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <bakrfk$212$1@news.fas.harvard.edu> <bal2qe$sej$1@n4vu.com> <bal8nl$gmd$1@puck.litech.org> <banfsc$68s$1@n4vu.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 27
Sender: jeff@litech.org
Distribution: inet
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1053787484 30610 66.218.0.75 (24 May 2003 14:44:44 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 24 May 2003 14:44:44 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)