🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Richard Wooden Tue, 31 Aug 1993 12:38
Problems running nn
#4717
Author: Richard Wooden
Date: Tue, 31 Aug 1993 12:38
26 lines
1534 bytes
I have managed to get nn and nnmaster to run (finally!) however in order
to do so, when I compiled it I set it as owned by root, for some reason it
would not work when owned by news. (I'll try again but doubt it'll work) 
A question I have is should I set nnmaster to run via cron or should I put
it in my /etc/rc file? I would appreciate some examples of both types. My 
machine has no network attached to it (stand alone).

Would these entries in my /etc/group & /etc/passwd be valid for nnmaster
to run?

GROUP:
news::51:news

PASSWD:
news::102:51::/:
	or
news::102:51::/user/foo:/bin/sh

In the past whenever I compiled nn as owned by news, after the install the
files etc are owned by news but nnmaster would refuse to run stating:
nnmaster invoked with wrong user priviledges... why?

That's enough for now....more later :)

Richard
rwooden@access.digex.net
Re: Problems running nn
#4718
Author: mathew
Date: Tue, 31 Aug 1993 15:02
35 lines
1906 bytes
In article <25vgog$3m1@access.digex.net>,
Richard Wooden <rwooden@access.digex.net> wrote:
>A question I have is should I set nnmaster to run via cron or should I put
>it in my /etc/rc file? I would appreciate some examples of both types. My 
>machine has no network attached to it (stand alone).

I recommend using cron to run nnmaster.  It's much more reliable.
Here's what I used before we went over to NOV:

# Get NN to check for new articles every 10 minutes
0,10,20,30,40,50 * * * * /usr/local/lib/nn/nnmaster -LM
#
# Get NN to check its databases overnight
0 1 * * * /usr/local/bin/nnadmin Z
#
# Get NN to expire its databases once INN has finished expiring news
30 0 * * * /usr/local/bin/nnadmin =EYW
#
# At the start of each notional new day, run nngoback's back_act
script
0 9 * * * /usr/local/lib/nn/back_act 5
#
# Every few hours, run nnspew to make a database of subject lines
5 8,12,17 * * * /usr/local/lib/nn/nnspew

You'll have to strip the comments, of course.

As far as /etc/groups and /etc/passwd go, the following works for me:

news:*:6:mathew

news:*:6:6::/home/news/inn:/bin/csh


mathew
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