🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7199

Re: Any way to restrict news groups to nn?

#7199
From: Greg Black
Date: Sat, 25 Feb 1995 19:32
25 lines
2150 bytes
> >>    Is there any way to restrict what groups are available to nn on a
> >> per user basis if the news server (inn) is on the same machine?

> >    You could create individual "init" files, containing a
> >"presentation sequence" list that specifies what groups the user can
> >see.  Consult the "Group presentation sequence" article in the in-line
> >manual (":man") for further details.

>THe individual could still redefine things.  Also 'G' would still allow you
>to go to whichever groups you wanted.

It would be trivial to hack nn to first look elsewhere for the user's
init file -- which would be owned by root with 644 permissions in a
directory owned by root with 711 permissions.  The init file would
have the user's name so the right one would be chosen.  If this
special init file was found, then the `G' command could be disallowed.

Of course, unless the news spool is also protected, the users can read
the articles with other tools, so you'd also need to make nn setgid
and the news spool directories only accessible to that group.  This
avoids the problem of users building their own nn, since they can't
make it setgid.

-- 
Greg Black -- gjb@gba.oz.au
Technical Details
Message-ID: <3io0jl$het@werple.mira.net.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!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.rz.uni-ulm.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!lll-winken.llnl.gov!overload.lbl.gov!agate!msunews!harbinger.cc.monash.edu.au!news.mira.net.au!news
References: <3iks56INN8rh@ns.ccsn.edu> <3ili7q$slr@explorer.clark.net> <ellis.793677303@gmi.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3io0jl$het@werple.mira.net.au>
Subject: Re: Any way to restrict news groups to nn?
Date: Sat, 25 Feb 1995 19:32:05 +0000
From: gjb@werple.mira.net.au (Greg Black)
References: <3iks56INN8rh@ns.ccsn.edu> <3ili7q$slr@explorer.clark.net> <ellis.793677303@gmi.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!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.rz.uni-ulm.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!lll-winken.llnl.gov!overload.lbl.gov!agate!msunews!harbinger.cc.monash.edu.au!news.mira.net.au!news
Newsgroups: news.software.nn
Organization: I speak for myself
Lines: 25
Reply-To: gjb@gba.oz.au (Greg Black)
NNTP-Posting-Host: 192.188.107.10
Keywords: restrict groups nn