🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72351

Re: Authentication advice

#72351
From: John F. Morse
Date: Fri, 30 Sep 2005 05:26
185 lines
7667 bytes
Jeffrey M. Vinocur wrote:

>>With that in mind, /var/lib/news might be the best place for a grab to 
>>take everything.
>>    
>>
>
>Now that you've posted the inn.conf entries, I have a better idea
>of what we're talking about here.  I think /var/lib/news is an
>okay place for it.  You could also make a case for /usr/lib/news
>(provided your /usr isn't readonly), or /etc/news (or even /etc
>-- after all, this file can be owned by root, group news, mode
>640 if you want, since the news user has no reason to need write
>access to its own password file).
>
>I wouldn't do /var/spool/news though.
>  
>


Sounds good. Thanks.


>>I'll help wherever I can. Besides Debian, other distros I have online 
>>(on the LAN) are:
>>    
>>
>
>Okay, that's a lot.
>
>We only care about distributions that have an INN package.
>Redhat products are far and away the ones that get the most
>people posting here confused...perhaps there's someone here who
>already has the INN RPM installed and could `grep ^path inn.conf`
>for us.  But if not, and you want to dig around for it, I'd
>certainly appreciate the info.
>  
>


OK. Here's some path info for the distros I can easily get to without a 
lot of work. I did need to download and install INN on the Fedora Core 1 
and 3, and the Mandrake 10.1 boxes. The Red Had version I have is 5.2, 
which is pretty old. Do you need the path info for it, or the Slackware 
distro?

Hopefully the Fedora Core info below will be identical to the RH and RHEL.

INN 2.3.5-6 on Fedora Core 1 Linux 2.4.22-1.2199

pathnews:               /usr/lib/news
pathalias:
patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/lib/news/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/lib/news/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/lib/news/tmp


INN 2.3.5-11 on Fedora Core 3 Linux 2.6.11-1.35

pathnews:               /usr/lib/news
pathalias:
patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/lib/news/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/lib/news/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/lib/news/tmp


INN 2.3.3-1 on Lindows 4.5.316 (Debian) Linux 2.4.24

pathnews:               /usr/lib/news
pathalias:
patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/lib/news/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /etc/news/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/spool/news/incoming/tmp


INN 2.4.1-5 on Mandrake 10.1 Linux 2.6.8.1-12

pathnews:               /usr
patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/lib/news/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /usr/tmp



Package managers: Fedora Core uses RPM. Lindows/Linspire use CNR 
(possibly their take on Synaptec or APT-GET). Mandrake/Mandriva uses RPM 
or URPMI.

I looked over the iMac (OS 10.3.9, "Darwin" FreeBSD) and it does not 
have INN installed. I don't have the Apple "server" set of CDs, and 
doubt if they provide INN (it wasn't found during a search of their 
"Downloads" Website). Finding INN and installing it would take more time 
than I have right now, and besides I doubt if many Mac users run INN. If 
the need arises, I'll try to find it and somehow install it.


>>/var/spool/news/overview/g/general.DAT (and general.IDX)
>>
>>This group does not exist in /var/lib/news/active or in 
>>/var/lib/news/newsgroups as the plain "general" group. 
>>    
>>
>
>That's pretty weird.  But yeah, it's safe to delete the part of
>the overview tree corresponding to those (although, if there's
>anything in the .DAT, it might help us figure out what went
>wrong).  Just rm it away :-)
>  
>


Both the .DAT and the .IDX are empty files (zero bytes).

I deleted the $pathoverview/g directory.


>>There is one file $pathoverview/group.index that hasn't been updated 
>>since 20050925.
>>    
>>
>
>Yeah, you need that file, and no, I don't know what makes it
>update.  On my system, it hasn't been modified in over a year,
>but INN does read from that file, and everything still seems to
>work.  Russ, you know the relevant code very well, want to
>enlighten us?
>  
>


I peeked at the code with kHexEdit and it appears to be a database. Russ 
made the same deduction.

Thanks again for your help.

-- 
John
Technical Details
Message-ID: <w04%e.342059$5N3.187813@bgtnsc05-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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net> <dhffeq$3bd$2@puck.litech.org> <d2M_e.90352$qY1.58251@bgtnsc04-news.ops.worldnet.att.net> <dhi61i$370$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <w04%e.342059$5N3.187813@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Authentication advice
Date: Fri, 30 Sep 2005 05:26:52 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net> <dhffeq$3bd$2@puck.litech.org> <d2M_e.90352$qY1.58251@bgtnsc04-news.ops.worldnet.att.net> <dhi61i$370$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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <dhi61i$370$1@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 185
NNTP-Posting-Host: 81bd250b526e8e97a01acc25b9c14add
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1128058012
NNTP-Posting-Date: Fri, 30 Sep 2005 05:26:52 GMT