๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #75437

Re: Daily Usenet Report Stops

#75437
From: John F. Morse
Date: Sat, 10 Mar 2007 00:01
253 lines
13558 bytes
F. Senault wrote:
> Le 9 mars 2007 ร  17:33, John F. Morse a รฉcrit :
>
>   
>> F. Senault wrote:
>>     
>
>   
>>> I'd say s/should/must/.  If you run it as root (for instance), you'll
>>> face event bigger problems.
>>>       
>> Won't work.
>>     
>
> There's your problem.
>
>   
>> innreport.conf belongs to root-root.
>>     
>
> Not on my setup :
>
> | 19:20 news@talisker:~> ls -la /news/etc/innreport.conf
> | -rw-r-----  1 news  news  66831 Aug 31  2006 /news/etc/innreport.conf
>
> I'd say if it isn't on yours, it's probably the symptom of something
> bad.  It all starts from news.daily - I hope you don't run news.daily as 
> root ?
>
> Anyway, in an inn installation, the only things that should belong to
> root are the programs needing to bind to the port 119.
>
> What's the output of 'inncheck -pedantic -perms' ?
>
> Fred
>   

I rarely su to root for anything. I learned years ago that playing as 
root can quickly lead to a new install. ;-)

If su powers are needed I sudo from my main user account, but news 
cannot sudo.

The 'inncheck -pedantic -perms' has many "suggestions" to change from 
whatever to "news" etc. (see output below).

I say suggestions because this is a standard install, and the 'inncheck 
-pedantic -perm' (no trailing "s" although it works with one) has always 
given the same "suggestions" on four different INN installations over 
the past three years. (Besides, "should" is less demanding than 
"shall.") ;-)

Plus, man inncheck states:

-pedantic
              Use  the  ``-pedantic''  option  to  get  reports on 
things that are not necessarily wrong, but may indicate a bad 
configuration -- such as
              inn.conf missing a key.

The "not necessarily wrong" is what I must have homed in on.

All of these INN servers run fine, so I never took the time to go back 
and fix what wasn't "apparently" broken. Perhaps afraid of breaking 
something else?

I can easily use inncheck -pedantic -perm -f to get an output that I can 
input with bash.

------------------------------------------------------------------------

/var/spool/news/archive:0: mode 775, should be 755
/var/spool/news/incoming/bad:0: mode 775, should be 755
/var/spool/news/outgoing:0: mode 775, should be 755
/usr/lib/news/bin/control:0: owned by root, should be news
/usr/lib/news/bin/control:0: in group root, should be news
/usr/lib/news/bin:0: owned by root, should be news
/usr/lib/news/bin:0: in group root, should be news
/etc/news:0: owned by root, should be news
/etc/news:0: in group root, should be news
/usr/lib/news:0: owned by root, should be news
/usr/lib/news:0: in group root, should be news
/var/log/news/OLD:0: mode 775, should be 755
/usr/lib/news/bin/rnews.libexec:0: owned by root, should be news
/usr/lib/news/bin/rnews.libexec:0: in group root, should be news
/var/spool/news/incoming/tmp:0: mode 775, should be 755
/var/spool/news/articles:0: mode 775, should be 755
/var/spool/news/incoming:0: mode 775, should be 755
/var/run/news:0: mode 775, should be 750
/usr/lib/news/bin/innd:0: owned by root, should be news
/usr/lib/news/bin/innd:0: in group root, should be news
/usr/lib/news/bin/innd:0: mode 755, should be 550
/usr/lib/news/bin/nnrpd:0: owned by root, should be news
/usr/lib/news/bin/nnrpd:0: in group root, should be news
/usr/lib/news/bin/nnrpd:0: mode 755, should be 555
/usr/lib/news/bin/rnews:0: in group uucp, should be news
/usr/lib/news/bin/rnews:0: mode 4755, should be 500
/usr/lib/news/bin/inews:0: owned by root, should be news
/usr/lib/news/bin/inews:0: in group root, should be news
/usr/lib/news/bin/inews:0: mode 755, should be 550
/usr/lib/news/bin/rc.news:0: owned by root, should be news
/usr/lib/news/bin/rc.news:0: in group root, should be news
/usr/lib/news/bin/rc.news:0: mode 755, should be 550
/usr/lib/news/bin/inndstart:0: mode 4754, should be 4550
/etc/news/newsfeeds:0: owned by root, should be news
/etc/news/newsfeeds:0: in group root, should be news
/etc/news/moderators:0: owned by root, should be news
/etc/news/moderators:0: in group root, should be news
/etc/news/control.ctl:0: owned by root, should be news
/etc/news/control.ctl:0: in group root, should be news
/etc/news/control.ctl:0: mode 644, should be 640
/etc/news/passwd.nntp:0: owned by root, should be news
/etc/news/incoming.conf:0: owned by root, should be news
/etc/news/incoming.conf:0: in group root, should be news
/etc/news/incoming.conf:0: mode 644, should be 640
/etc/news/nntpsend.ctl:0: owned by root, should be news
/etc/news/nntpsend.ctl:0: in group root, should be news
/etc/news/nntpsend.ctl:0: mode 644, should be 640
/etc/news/readers.conf:0: owned by root, should be news
/etc/news/readers.conf:0: in group root, should be news
/etc/news/readers.conf:0: mode 644, should be 640
/etc/news/overview.fmt:0: owned by root, should be news
/etc/news/overview.fmt:0: in group root, should be news
/etc/news/inn.conf:0: owned by root, should be news
/etc/news/inn.conf:0: in group root, should be news
/etc/news/expire.ctl:0: owned by root, should be news
/etc/news/expire.ctl:0: in group root, should be news
/etc/news/expire.ctl:0: mode 644, should be 640
/var/lib/news/history:0: mode 664, should be 644
/usr/lib/news/bin/ctlinnd:0: owned by root, should be news
/usr/lib/news/bin/ctlinnd:0: in group root, should be news
/usr/lib/news/bin/ctlinnd:0: mode 755, should be 550
/usr/lib/news/bin/expirerm:0: owned by root, should be news
/usr/lib/news/bin/expirerm:0: in group root, should be news
/usr/lib/news/bin/expirerm:0: mode 755, should be 550
/usr/lib/news/bin/inncheck:0: owned by root, should be news
/usr/lib/news/bin/inncheck:0: in group root, should be news
/usr/lib/news/bin/inncheck:0: mode 755, should be 550
/usr/lib/news/bin/innstat:0: owned by root, should be news
/usr/lib/news/bin/innstat:0: in group root, should be news
/usr/lib/news/bin/innstat:0: mode 755, should be 550
/usr/lib/news/bin/innwatch:0: owned by root, should be news
/usr/lib/news/bin/innwatch:0: in group root, should be news
/usr/lib/news/bin/innwatch:0: mode 755, should be 550
/usr/lib/news/bin/news.daily:0: owned by root, should be news
/usr/lib/news/bin/news.daily:0: in group root, should be news
/usr/lib/news/bin/news.daily:0: mode 755, should be 550
/usr/lib/news/bin/nntpsend:0: owned by root, should be news
/usr/lib/news/bin/nntpsend:0: in group root, should be news
/usr/lib/news/bin/nntpsend:0: mode 755, should be 550
/usr/lib/news/bin/scanlogs:0: owned by root, should be news
/usr/lib/news/bin/scanlogs:0: in group root, should be news
/usr/lib/news/bin/scanlogs:0: mode 755, should be 550
/usr/lib/news/bin/sendbatch:0: missing
/usr/lib/news/bin/tally.control:0: owned by root, should be news
/usr/lib/news/bin/tally.control:0: in group root, should be news
/usr/lib/news/bin/tally.control:0: mode 755, should be 550
/usr/lib/news/bin/writelog:0: owned by root, should be news
/usr/lib/news/bin/writelog:0: in group root, should be news
/usr/lib/news/bin/writelog:0: mode 755, should be 550
/usr/lib/news/bin/send-ihave:0: owned by root, should be news
/usr/lib/news/bin/send-ihave:0: in group root, should be news
/usr/lib/news/bin/send-ihave:0: mode 755, should be 550
/usr/lib/news/bin/send-nntp:0: owned by root, should be news
/usr/lib/news/bin/send-nntp:0: in group root, should be news
/usr/lib/news/bin/send-nntp:0: mode 755, should be 550
/usr/lib/news/bin/send-uucp:0: owned by root, should be news
/usr/lib/news/bin/send-uucp:0: in group root, should be news
/usr/lib/news/bin/send-uucp:0: mode 755, should be 550
/usr/lib/news/bin/archive:0: owned by root, should be news
/usr/lib/news/bin/archive:0: in group root, should be news
/usr/lib/news/bin/archive:0: mode 755, should be 555
/usr/lib/news/bin/batcher:0: owned by root, should be news
/usr/lib/news/bin/batcher:0: in group root, should be news
/usr/lib/news/bin/batcher:0: mode 755, should be 555
/usr/lib/news/bin/buffchan:0: owned by root, should be news
/usr/lib/news/bin/buffchan:0: in group root, should be news
/usr/lib/news/bin/buffchan:0: mode 755, should be 555
/usr/lib/news/bin/convdate:0: owned by root, should be news
/usr/lib/news/bin/convdate:0: in group root, should be news
/usr/lib/news/bin/convdate:0: mode 755, should be 555
/usr/lib/news/bin/cvtbatch:0: owned by root, should be news
/usr/lib/news/bin/cvtbatch:0: in group root, should be news
/usr/lib/news/bin/cvtbatch:0: mode 755, should be 555
/usr/lib/news/bin/expire:0: owned by root, should be news
/usr/lib/news/bin/expire:0: in group root, should be news
/usr/lib/news/bin/expire:0: mode 755, should be 555
/usr/lib/news/bin/filechan:0: owned by root, should be news
/usr/lib/news/bin/filechan:0: in group root, should be news
/usr/lib/news/bin/filechan:0: mode 755, should be 555
/usr/lib/news/bin/getlist:0: owned by root, should be news
/usr/lib/news/bin/getlist:0: in group root, should be news
/usr/lib/news/bin/getlist:0: mode 755, should be 555
/usr/lib/news/bin/grephistory:0: owned by root, should be news
/usr/lib/news/bin/grephistory:0: in group root, should be news
/usr/lib/news/bin/grephistory:0: mode 755, should be 555
/usr/lib/news/bin/innconfval:0: owned by root, should be news
/usr/lib/news/bin/innconfval:0: in group root, should be news
/usr/lib/news/bin/innconfval:0: mode 755, should be 555
/usr/lib/news/bin/innxmit:0: owned by root, should be news
/usr/lib/news/bin/innxmit:0: in group root, should be news
/usr/lib/news/bin/innxmit:0: mode 755, should be 555
/usr/lib/news/bin/makehistory:0: owned by root, should be news
/usr/lib/news/bin/makehistory:0: in group root, should be news
/usr/lib/news/bin/makehistory:0: mode 755, should be 555
/usr/lib/news/bin/nntpget:0: owned by root, should be news
/usr/lib/news/bin/nntpget:0: in group root, should be news
/usr/lib/news/bin/nntpget:0: mode 755, should be 555
/usr/lib/news/bin/overchan:0: owned by root, should be news
/usr/lib/news/bin/overchan:0: in group root, should be news
/usr/lib/news/bin/overchan:0: mode 755, should be 555
/usr/lib/news/bin/prunehistory:0: owned by root, should be news
/usr/lib/news/bin/prunehistory:0: in group root, should be news
/usr/lib/news/bin/prunehistory:0: mode 755, should be 555
/usr/lib/news/bin/shlock:0: owned by root, should be news
/usr/lib/news/bin/shlock:0: in group root, should be news
/usr/lib/news/bin/shlock:0: mode 755, should be 555
/usr/lib/news/bin/shrinkfile:0: owned by root, should be news
/usr/lib/news/bin/shrinkfile:0: in group root, should be news
/usr/lib/news/bin/shrinkfile:0: mode 755, should be 555
/usr/lib/news/bin/rnews.libexec/c7unbatch:0: owned by root, should be news
/usr/lib/news/bin/rnews.libexec/c7unbatch:0: in group root, should be news
/usr/lib/news/bin/rnews.libexec/c7unbatch:0: mode 755, should be 555
/usr/lib/news/bin/rnews.libexec/decode:0: owned by root, should be news
/usr/lib/news/bin/rnews.libexec/decode:0: in group root, should be news
/usr/lib/news/bin/rnews.libexec/decode:0: mode 755, should be 555
/usr/lib/news/bin/rnews.libexec/encode:0: owned by root, should be news
/usr/lib/news/bin/rnews.libexec/encode:0: in group root, should be news
/usr/lib/news/bin/rnews.libexec/encode:0: mode 755, should be 555
/usr/lib/news/bin/rnews.libexec/gunbatch:0: owned by root, should be news
/usr/lib/news/bin/rnews.libexec/gunbatch:0: in group root, should be news
/usr/lib/news/bin/rnews.libexec/gunbatch:0: mode 755, should be 555
/usr/lib/news/bin/rnews.libexec:0: ERROR: illegal file `bunbatch' in 
directory

------------------------------------------------------------------------

Thanks for your help, Fred. I needed this reminder.

INN runs so quietly that a long time can pass before some other problem 
makes me return to INN to see what might be amiss. This server had an 
uptime of over four months.

The other one?

news@optima7:~$ uptime
 17:48:00 up 193 days, 22 min,  5 users,  load average: 0.00, 0.00, 0.00

-- 
John 

No Microsoft products were used in the
preparation or transmission of this message.
Technical Details
Message-ID: <nzmIh.130038$5j1.36534@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <XqXHh.45958$as2.31590@bgtnsc05-news.ops.worldnet.att.net> <80vehbzfx4.fsf@banana.shacknet.nu> <1v9npm37fp7tp$.dlg@tamnavulin.lacave.local> <A%fIh.128245$5j1.102618@bgtnsc04-news.ops.worldnet.att.net> <15aar18oh0usk$.dlg@tamnavulin.lacave.local>

Show Full Headers
Complete Article Headers
Message-ID: <nzmIh.130038$5j1.36534@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: Daily Usenet Report Stops
Date: Sat, 10 Mar 2007 00:01:23 GMT
From: "John F. Morse" <xanadu.bbs@example.net>
References: <XqXHh.45958$as2.31590@bgtnsc05-news.ops.worldnet.att.net> <80vehbzfx4.fsf@banana.shacknet.nu> <1v9npm37fp7tp$.dlg@tamnavulin.lacave.local> <A%fIh.128245$5j1.102618@bgtnsc04-news.ops.worldnet.att.net> <15aar18oh0usk$.dlg@tamnavulin.lacave.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@example.net
Organization: Xanadu BBS
User-Agent: Thunderbird 1.5.0.10 (X11/20070306)
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <15aar18oh0usk$.dlg@tamnavulin.lacave.local>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 253
NNTP-Posting-Host: e01110323968d3e2c2ca92c5586c684e
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1173484883
NNTP-Posting-Date: Sat, 10 Mar 2007 00:01:23 GMT