Article View: news.software.nn
Article #3119Re: HELP: nnmaster won't start after patch 17,18
From: Peter Wemm
Date: Fri, 18 Sep 1992 05:37
Date: Fri, 18 Sep 1992 05:37
47 lines
3011 bytes
3011 bytes
jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes: >bill@twg.bc.ca (Bill Irwin) writes: >>ric@updike.sri.com (Richard Steinberger) writes: >>: I have just installed nn patches 17 and 18. Now when I try >>: to restart nnmaster, I get this message: >>: /usr/local/lib/nn/nnmaster invoked with wrong user privileges >>: Yes, I am root when I invoke the command. Can anyone help with this? >>: All I have done is "make all", "./inst u", then try to invoke nnmaster. >>This worried me, as I had just finished installing these patches >>and building nn. I was going to let my nightly backup program >>restart nnmaster as it does after the backup is finished, but >>decided to kick it off manually. >>No problem. The patches seem stable so far, at least for me on >>SCO XENIX 2.3.3. >The funny thing is, it appears that patches 17 and 18 just patch menu.c, >which isn't even _linked_ with nnmaster! Should have no effect at all... This is true. After some discussion with Richard, it seems that some security-concious person turned off the default setuid-news for nnmaster for his machine. Since root was running nnmaster at startup, all the data files gradually changed to owner root. After he did the "./inst U", nnmaster was again setuid to news, and could no longer write to it's files. A large amount of "chown"'s cured the symptoms. I should add that running nnmaster as root is DANGEROUS!!! During crash recovery/nntp problems, nnmaster has been known to attempt to kill process id #1. As news, this is harmless, but as root.... it's goodnight! In the next patch, I'm thinking of making nnmaster refuse to run unless it is at effective-uid of the configured values. The "inst" script will also to some rudimentry perms checking to make sure nnmaster CAN run. >-- > Jim Jagielski | "This is supposed to be a happy occasion. > jim@jagubox.gsfc.nasa.gov | Let's not bicker and argue about who > NASA/GSFC, Code 734.4 | killed who." > Greenbelt, MD 20771 | -- Peter Wemm : peter@zeus.dialix.oz.au If it's broke, fix it (The MS-DOS way) Work phone: +61-9-479-1855 If it aint broke, don't touch it (The Unix way) Fax: +61-9-479-1134 If we can't fix it, it ain't broke (Maintainer's Motto)
Technical Details
Message-ID:
<19bpujINN6v7@zeus.dialix.oz.au>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!sparky!uunet!munnari.oz.au!uniwa!DIALix!zeus!zeus!peterReferences:
<ric.716498116@updike> <2732@twg.bc.ca> <1113@jagubox.gsfc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <19bpujINN6v7@zeus.dialix.oz.au> Subject: Re: HELP: nnmaster won't start after patch 17,18 Date: Fri, 18 Sep 1992 05:37:23 +0000 From: peter@zeus.DIALix.oz.au (Peter Wemm) References: <ric.716498116@updike> <2732@twg.bc.ca> <1113@jagubox.gsfc.nasa.gov> 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!sparky!uunet!munnari.oz.au!uniwa!DIALix!zeus!zeus!peter Newsgroups: news.software.nn Organization: Karam Pty. Ltd., Perth, Western Australia. Lines: 47 NNTP-Posting-Host: zeus.dialix.oz.au Keywords: nnmaster