🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #215220

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

#215220
From: Whiskers
Date: Tue, 22 Jan 2008 10:48
38 lines
2799 bytes
On 2008-01-22, andrew <andrew@ilium.invalid> wrote:
> 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?

Fetchnews can be run as root, and if you are doing it manually it may be 
easier to su or sudo to root rather than to news; but the danger of 
running it as root is that your entire system becomes vulnerable while you 
are doing it.  Running it as news only exposes the system to things that 
the user news is permitted to do - which shouldn't be much, and nothing at 
all beyond what is needed for posting and fetching usenet posts and 
maintaining the 'spool'.

(If you try to su to news, you should find that you can't enter the 
correct password - because news doesn't have a password, so can't log in 
to do anything).

[...]

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <20080122104820.1B1C.2.NOFFLE@ID-107770.user.individual.net>
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!newsfeed.freenet.de!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> <20080122205828@ilium.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <20080122104820.1B1C.2.NOFFLE@ID-107770.user.individual.net>
Subject: Re: [slrn] + [leafnode] a few questions
Date: Tue, 22 Jan 2008 10:48:20 +0000
From: Whiskers <catwheezel@operamail.com>
References: <20080120233751@ilium.andrews-corner.org> <slrnfp94f6.t2u.pjr@pjr.gotdns.org> <20080122094000@ilium.andrews-corner.org> <20080122094912@usenet.piggo.com> <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!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 38
X-Trace: individual.net eoTQ7LmL3QKjr+ZdZR7FiA56TneD1dPkJWB/lJWWvGRxPGAJaj
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:NufLVaZ7zo6SQKO6N1CVyyoMb/0=
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)