🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #215216

Re: [slrn] + [leafnode] a few questions

#215216
From: andrew
Date: Tue, 22 Jan 2008 10:04
34 lines
2216 bytes
On 2008-01-21, Troy Piggins <usenet-0801@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :

[...]

>> Can I ask, if you use cron for this, /whose/ cron it is? I have followed
>> the manual and set it for news:
>
> That's as good a user as any :)

[...]

> Just for security and privileges.  If some exploit gains access
> to leafnode/fetchnews, they'll only be as user "news" not root.

Mind you as far as I know, and I have only met Leafnode a couple of
days ago, fetchnews itself /must/ be run as root anyway. So is their
actually any added risk to automating this process as a root crontab?

> On your ubuntu box:
> $ man 5 crontab

Thanks for the prod towards the manual :-) I have worked it all out
and the following works well for me:

10 21 * * * /usr/sbin/texpire -vv >>/home/andrew/.texpirelog 2>&1
15 * * * * /usr/sbin/fetchnews -vv >>/home/andrew/.fetchnewslog 2>&1

Thanks again Troy,

   Andrew

-- 
http://www.andrews-corner.org
Technical Details
Message-ID: <20080122205828@ilium.andrews-corner.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.cid.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20080120233751@ilium.andrews-corner.org> <slrnfp94f6.t2u.pjr@pjr.gotdns.org> <20080122094000@ilium.andrews-corner.org> <20080122094912@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <20080122205828@ilium.andrews-corner.org>
Subject: Re: [slrn] + [leafnode] a few questions
Date: Tue, 22 Jan 2008 21:04:16 +1100
From: andrew <andrew@ilium.invalid>
References: <20080120233751@ilium.andrews-corner.org> <slrnfp94f6.t2u.pjr@pjr.gotdns.org> <20080122094000@ilium.andrews-corner.org> <20080122094912@usenet.piggo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!news.cid.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia
Lines: 34
Reply-To: usenet.andrew@gmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net FBJrr6GfChthnIeHY1BTTwVseBzbuMulQrwgvdAGh6jld1UMfF
X-Orig-Path: ilium.andrews-corner.org!not-for-mail
Cancel-Lock: sha1:6oOvGTh+xlbBSQvisVBbf3ttgL4=
User-Agent: slrn/pre0.9.9-82 (Linux)