🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Christopher B. Browne Sat, 12 Apr 1997 00:00
Re: Newsserver with Leafnode
#16921
Author: Christopher B. Browne
Date: Sat, 12 Apr 1997 00:00
38 lines
2182 bytes
On Mon, 07 Apr 1997 17:05:34 -0700, Bart Haezeleer <ping0621@ping.be> posted:
>Can anyone help me out to setup a newsserver for a small LAN
>with a slow (28k8 line to internet) ?
>
>How do I have to setup the selected groups ?

You need to have a file (leafnode searches for the name; all you need
do is "touch" it) in the directory /var/spool/news/interesting.groups
for each newsgroup that you want to load.

I've used the following shell script to do the job; note that I made
/var/spool/news/interesting.groups writable by user cbbrowne.  Your
milage may vary, insofar as you may want this to be:
a) Owned by root (not too likely though)
b) Owned by news (and probably run the script as root)
c) Owned by some other user and/or world writable.

Anyway, without further ado...
--- cut here ---
#!/bin/ksh
# $Id: fixgroups,v 1.2 1997/03/16 19:16:55 cbbrowne Exp $
# This checks through my .newsrc file, and makes sure that all newsgroups 
# in my .newsrc are put on the "interesting" list
cd /var/spool/news/interesting.groups
touch `grep : /home/cbbrowne/.newsrc | cut -d : -f 1 `
chmod a+w `grep : /home/cbbrowne/.newsrc | cut -d : -f 1 `
--- cut here ---

Hope this helps...
-- 
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
PGP Fingerprint: 10 5A 20 3C 39 5A D3 12  D9 54 26 22 FF 1F E9 16
URL: <http://www.conline.com/~cbbrowne/>
Linux: When one country worth of OS developers just isn't enough...


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