🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Daniel MacKay Sun, 05 May 1991 15:26
Need help restricting newsgroups
#1637
Author: Daniel MacKay
Date: Sun, 05 May 1991 15:26
49 lines
2928 bytes
Hello!

Kim, I asked you this in email- and the answer you gave me was a good 
one, but my question was flawed.

What I'll have in a week or so, is a high school class using one of 
our machines for news and email, as part of a literacy-promotion
project- the idea being, that kids who have lost interest in the written
word will regain an interest in readin' and writin' as a result of 
e-corresponding with e-penpals all around the world.  They'll be using
email and the k12 newsgroup hierarchy, mostly, but I'd also like them
to have access to the rest of the news system.  Except.

I know that if the kiddies start browsing through alt.sex.naughtybits,
printing out the results, and taking them home, that this whole project will
get the power plug pulled right soon fast.  So I need some way to restrict
them from accessing some bunch of newsgroups -- I'll let the teachers 
decide which ones.

Kim's suggestion to restrict usage was to put the adults on the machine
into an "adult" group, set the gid on the naughty newsgroups to "adult",
and change permissions on the naughtybits directories from everyone-read 
to group-and-owner-only-read.  Now this is an excellent solution, and the 
latest version of nn even has an option to tell you why you can't access 
a particular group.  If all else fails, I will nfs-mount the news directory
and do this.

What I forgot to tell Kim was that the machine the kiddies are going to
be on gets its news via client/server nntp- so there are no files to change
gid on!  Furthermore, there are other users on the machine who "need"
alt.sex.naughtybits :-) so I can't control the access via the standard
nntp_access method.

One thing that comes to mind (the kiddies will have captive accounts- just
shell-disabled nn and a shell-disabled editor for posting- they will POP 
their email in) is to give them all some complicated init file: 
	on entry alt.naughtybits
	   slap_wrists
	   goto alt.goodchildren

Has anyone done this?  Any suggestions?  Any help is appreciated.  Thanks.
-daniel
--
	Daniel MacKay				daniel@nstn.ns.ca
	NOC Manager, NSTN Operations Centre
	Communications Services			902-494-NSTN
	Dalhousie University
	Halifax, N.S.  CANADA
	B3H 4H8					uunet!nstn.ns.ca!daniel
Re: Need help restricting newsgroups
#1660
Author: Ray Davis
Date: Wed, 08 May 1991 10:16
48 lines
2691 bytes
daniel@nstn.ns.ca (Daniel MacKay) writes:

>So I need some way to restrict
>them from accessing some bunch of newsgroups -- I'll let the teachers 
>decide which ones.

>What I forgot to tell Kim was that the machine the kiddies are going to
>be on gets its news via client/server nntp- so there are no files to change
>gid on!  

Since they are on a separate machine you have it even easier.  Run
nnmaster on that machine, so it has its own GROUPS file, and change the
flags on the groups you don't want them to be able to get at.  Some info
from the nnadmin and nnmaster man pages:

 nnadmin: Individual group flags
 D)irectory missing
      This flag indicates that the spool directory for the news group cannot be
      found (the group has probably been removed with rmgroup(1M)). It is set
      automatically be the nnmaster if it cannot access the directory. When the
      flag is set, nnmaster completely ignores the group, so it can be used to
      disable news collection in specific groups. If you recreate the group or
      the directory manually, you must also clear this flag to have the
      nnmaster recognize the group again.
 
 nnmaster: The groups file
 @    Instructs nnmaster to completely ignore this group - this is equivalent
      to setting the group name to `@' as described above.
 
 ! or X
      Causes nnmaster to ignore the group and not collect the group's articles
      in the database.

>One thing that comes to mind (the kiddies will have captive accounts- just
>shell-disabled nn and a shell-disabled editor for posting- they will POP 
>their email in) is to give them all some complicated init file: 
>	on entry alt.naughtybits
>	   slap_wrists
>	   goto alt.goodchildren

I think they could figure out how to reset this in their own init files.

Cheers,
Ray
___
Ray Davis
Convex Computer GmbH, Frankfurt, West Germany
rdavis@convex.com, unido!connie!rdavis, uunet!convex!rdavis, +49-69-666-8081
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads