🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64124

Re: cnews

#64124
From: Reza Ambler
Date: Sat, 22 Feb 2003 19:53
115 lines
6780 bytes
nevermind i answer my own question.
Thanks.
-Reza

"Reza Ambler" <reza225@sbcglobal.net> wrote in message
news:ncQ5a.1951$i75.236@newssvr16.news.prodigy.com...
> i tried running build.sh as root, and it told me that i wasn't able to
> install cnews/nntpd on my system because it was not linux.
> Here is the output (also could you put more spaces between your lines,
it's
> hard ofr me to read :)
>
> $ sudo sh build.sh
> This source distribution is only meant for Linux platforms.
> We will terminate here. Sorry.
> $ uname -a
> OpenBSD digidyntech 3.1 LUCIFER#0 i386
> $
>
> Thanks
> -Reza
>
>
> "B'ichela" <mdalene@pinkrose.net.dhis.org> wrote in message
> news:slrnb5csu9.7vl.mdalene@pinkrose.dhis.org...
> > In article <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com>, Reza
> Ambler wrote:
> > > does cnews have to run as root or can you runt it as another user?
> > > Becuase im' worried about security...
> > Cnews is not designed to run as root. normally it runs as user
> > news and group news. For this reason its important to chown all
> > files/directories of news to news.news. Heres a real world example.
> > on my system news has a /etc/passwd entry that defines c-news's home as
> > /usr/lib/news
> > now Cnews has its own set of executables in /usr/llb/newsbin
> > fastest way of setting proper owner after you do a normal install
> > (read the installation instructions please). This is assuming you are
> > using the gnu chown command and you have a user and group of news
> > chown -Rv news.news /usr/lib/news
> > chown -Rv news.news /usr/lib/newsbin
> > Now before anything you must know you do news maintainence as news
> > NEVER root! (you can but then you will become intimate with chown
> > every time you make changes). therefore as root
> > su - news
> > you then do the needed tasks using the tools and exit. Now since News
> > needs processing you would create these type of entries under the
> > news user. (please note, these may have to be modified for your
> > system)
> > if you are su'ed in as news doing crontab -e will allow you to add
> > these. if you are root. doing
> > crontab -e -u news will allow you to edit new's crontab while being
> > root. Don't get in the habit! start su'ing and thats the best place to
> > start with your discipline of being news when editing c-new's config.
> > # take the compressed batches that came in from other systems
> > # also, post (locally) articles that originated here
> > #20 *       * * * /usr/lib/newsbin/input/newsrun
> > */10 * * * * /usr/lib/newsbin/input/newsrun 2>&1 >/dev/null &
> >
> > # batch 'em up to go out
> > # 0 *        * * * /usr/lib/newsbin/batch/sendbatches myfeedsite
> >
> > # expire C-news
> > 59 0       * * * /usr/lib/newsbin/expire/doexpire
> >
> > # monitor stuff and report if needed
> > 10 5       * * * /usr/lib/newsbin/maint/newsdaily &
> > 00 5       * * * /usr/lib/newsbin/maint/newswatch &
> >
> > # turn processing of incoming news batches off 6:30AM - 4:00 PM
> > #30 6       * * * /usr/lib/newsbin/input/newsrunning off >/dev/null &
> > 00 16      * * * /usr/lib/newsbin/input/newsrunning on >/dev/null &
> >
> > There are several resources on c-news available including
> > whats in the cnews archive itself. look in the doc and man directories
> > for several files describing cnews and its usage. There are several
> > postscript documents that explain how to use cnews. Another set of
> > documents deal with nntpd (it was originally a seperate package that I
> > begain to combine with cnews).
> > this is in the nntp-1.5.12.1-bichela subdirectory. This is the
> > nntpd system. While it works fine with Netscape and pine. it will bomb
> > royally with Slrn 0.9.7.4 UNLESS you add a entry into your slrn.rc file
> for
> > reading news. The line to add to either .slrnrc or
> > /usr/local/etc/slrn.rc
> > set max_queued_groups 1
> > Btw cnews works fine with suck without a hitch.
> >
> > If you go to my ftp site you will find lots of unusual
> > bits/pieces for cnews (including an older version). my ftp site is
> > ftp://pinkrose.net.dhis.org/pub/Linux
> > Last thing, Cnews is written on shell scripts. Therefore it is
> > very easy to modify c-news to your liking. I run it with bash. but
> > if you are savvy enough you could modify it to work with the C-shell
> > or tcsh, just be aware if you do that. you are on your own. also be
> > sure to have a recent version of sed/awk otherwise c-news is gonna
> > hate you. an older awk on slackware 3.9 gave me a migrain until I
> > replaced it with a newer gnu awk.
> > If one is savvy enough they could create a nice config tool
> > for cnews. I am trying to learn perl. Also a ./configure system using
> > autoconf would be even more awsome.
> >
> > A tagline from Comp.os.Linux.Advocacy:
> > (I keep hearing RTFM, but I'm not sure where TFM is).
> > From the Desk of the Sysop of:
> > Planet Maca's Opus, a Free open BBS system.
> > Telephone 860-738-7176 300-33.6kbps
> > Telnet://pinkrose.dhis.org. Open 24/7!
> > The New Cnews maintainer
> > B'ichela
> >
>
>


Technical Details
Message-ID: <ByQ5a.2006$5h5.58@newssvr16.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!e5f3debc!not-for-mail
References: <PKB4a.1941$4q1.161291412@newssvr21.news.prodigy.com> <slrnb57od8.4ec.mdalene@pinkrose.dhis.org> <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com> <slrnb5csu9.7vl.mdalene@pinkrose.dhis.org> <ncQ5a.1951$i75.236@newssvr16.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <ByQ5a.2006$5h5.58@newssvr16.news.prodigy.com>
Subject: Re: cnews
Date: Sat, 22 Feb 2003 19:53:05 GMT
From: "Reza Ambler" <reza225@sbcglobal.net>
References: <PKB4a.1941$4q1.161291412@newssvr21.news.prodigy.com> <slrnb57od8.4ec.mdalene@pinkrose.dhis.org> <WAr5a.2590$WB6.472231985@newssvr13.news.prodigy.com> <slrnb5csu9.7vl.mdalene@pinkrose.dhis.org> <ncQ5a.1951$i75.236@newssvr16.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!e5f3debc!not-for-mail
Reply-To: "Reza Ambler" <reza225@sbcglobal.net>
Newsgroups: news.software.nntp
Lines: 114
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 63.202.232.82
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr16.news.prodigy.com 1045943585 ST000 63.202.232.82 (Sat, 22 Feb 2003 14:53:05 EST)
NNTP-Posting-Date: Sat, 22 Feb 2003 14:53:05 EST
Organization: Prodigy Internet http://www.prodigy.com
X-UserInfo1: OX]YBSCEGPBYGFD[LZKJOPHAWB\^PBQLGPQRZ\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM