🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1659

Tin 1.1 PL3 With non-local indexes

#1659
From: Tom J Parry
Date: Sun, 31 May 1992 14:20
37 lines
2535 bytes
I am having trouble getting tin to use common index files. I see from
the source that it compares real and effective uid's and if they are
different then it assumes index files are in /usr/spool/news/.index

Tin is therefore installed as setuid news. It now does not create .index
files in each user's directory. Unfortunately it doesn't do much else
either. If I do a shell escape and run id I get my uid and news as the
effective id. I can, (via shell escapes) do anything I like as news,
including removing/creating files in /usr/spool/news/whatever (BAD
THING!). I am unable to access my files at all.

The soruce seems to switch real and effective id's whenever necessary. I
presume it should be me when doing anything except reading/writing
.index files. However, it seems to be the other way around. It reads my
.newsrc file (o+r access) but can't write it. I therefor assumed it
would write to /usr/spool/news/.index but it doesn't. The real/effective
id's seem switched!

Have I installed things incorrectly. We currently have tind running 6
hourly and tin running without setuid so everybody has .index files.
I've been running the setuid version in my own directory so not to give
away access to the screaming hoardes.

Our news is NOT read via NNTP, we mount a common news spool heirarchy
(and then do a few things to add some local groups and fake active
files). The README files for Tin don't seem to give much help. There is
lots of help if you want to read .indexes from NNTP and any other help
you would want (except the one thing we need!)

Anyone had similar problems, Know what's wrong, know a solution?

Thanks in advance

-- 
Tom J Parry.
Your reality is a figment of my imagination.
Technical Details
Message-ID: <1992May31.142049.27063@monu6.cc.monash.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!think.com!sdd.hp.com!mips!mips!munnari.oz.au!trlluna!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry

Show Full Headers
Complete Article Headers
Message-ID: <1992May31.142049.27063@monu6.cc.monash.edu.au>
Subject: Tin 1.1 PL3 With non-local indexes
Date: Sun, 31 May 1992 14:20:49 GMT
From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!think.com!sdd.hp.com!mips!mips!munnari.oz.au!trlluna!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
Newsgroups: news.software.readers,alt.sources.d,comp.sources.d
Originator: parry@yoyo.cc.monash.edu.au
Sender: news@monu6.cc.monash.edu.au (Usenet system)
Organization: Monash University, Melb., Australia.
Lines: 36