🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5607

Re: NNMASTER - STARTUP PROBLEM

#5607
From: Ofer Inbar
Date: Mon, 21 Mar 1994 20:43
21 lines
1772 bytes
wnelson@dna.stanford.edu (Will Nelson) writes:
>dtarenda@well.sf.ca.us (David Tarendash) writes:
>> 	/usr/local/lib/nn/nnmaster invoked with wrong user privileges	
>>
>>Its privileges are rws r-s ---
>>Sso that shouldn't be a problem...
>
>I think I've seen this when "nnmaster" was running with root
>as the owner of the process instead of news.

Yes.  Since nnmaster, as you show, is both setuid and setgid, it
matters what the owner and group of the file are.  Make sure it is
both owned by user "news" and in group "news", neither of which is an
alias for root (uid 0).  This is a wise safety precaution.  And old
version of nnmaster once had a bug that caused it do send a SIGTERM to
PID 1.  If it were running as root, it would crash your system.

  --  Cos (Ofer Inbar)  --  cos@cs.brandeis.edu
  --  WBRS (BRiS)  --  WBRS@binah.cc.brandeis.edu  WBRS@brandeis.bitnet
 Brandeis University Computer Science Department         (617) 736-2700
 415 South Street, Waltham MA, 02254-9110        System Admin: 736-2717
Technical Details
Message-ID: <cos.764282624@cs.brandeis.edu>
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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!noc.near.net!news.cs.brandeis.edu!cos
References: <2lilm2$9s5@nkosi.well.com> <wnelson.763775184@dna>

Show Full Headers
Complete Article Headers
Message-ID: <cos.764282624@cs.brandeis.edu>
Subject: Re: NNMASTER - STARTUP PROBLEM
Date: Mon, 21 Mar 1994 20:43:44 GMT
From: cos@cs.brandeis.edu (Ofer Inbar)
References: <2lilm2$9s5@nkosi.well.com> <wnelson.763775184@dna>
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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!noc.near.net!news.cs.brandeis.edu!cos
Newsgroups: news.software.nn
Keywords: nn nnmaster netnews news
Sender: news@news.cs.brandeis.edu (USENET News System)
Organization: Brandeis University
Lines: 21