Article View: news.software.readers
Article #215250Re: [slrn] + [leafnode] a few questions
From: Troy Piggins
Date: Wed, 23 Jan 2008 20:22
Date: Wed, 23 Jan 2008 20:22
41 lines
3644 bytes
3644 bytes
* andrew is quoted & my replies are inline below : > On 2008-01-22, andrew <andrew@ilium.invalid> wrote: >> On 2008-01-22, Whiskers <catwheezel@operamail.com> wrote: >> >> [...] >> >>> 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'. >> >> Thanks for this very clear explanation. I guess at the heart of my >> problem is that I cannot actually get 'news' to do his / her cron >> work :-) There is most definitly a user called news, and this user >> owns /var/spool/news and everything in it but will not respond to >> cron. > > Can I confess to being totally stupid, here on news.software.readers? > I have found the simple error I made with the following, run as > 'news': > > 15 * * * * /usr/sbin/fetchnews -vvv >/home/andrew/.fetchnewslog 2>&1 > > The file .fetchnewslog is owned by me (andrew) and permissions were > 600 so the user 'news' could not access it at all. And so the whole > cron job failed (this is 2.3.3). Once I set permissions to 644 all was > well. Unbelievable. Ha! We've all done that! Why put the logs in /home/andrew? Why not with all the other logs in /var/log or something? -- Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __ * Currently using slrn pre0.9.9-82 |___ | |/ |/ | * Try it: ___| | | | | $ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Technical Details
Message-ID:
<20080124062117@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!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<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> <20080122104820.1B1C.2.NOFFLE@ID-107770.user.individual.net> <20080123091803@ilium.andrews-corner.org> <20080123201303@ilium.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <20080124062117@usenet.piggo.com> Subject: Re: [slrn] + [leafnode] a few questions Date: Thu, 24 Jan 2008 06:22:36 +1000 From: Troy Piggins <usenet-0801@piggo.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> <20080122104820.1B1C.2.NOFFLE@ID-107770.user.individual.net> <20080123091803@ilium.andrews-corner.org> <20080123201303@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!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 41 Reply-To: usenet-0801@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/7awfPh9WcpA/GGw/rCctXQUN9cT52DmoREzaHha1kcHBeV9EKiZFb3viN6nM88FkS8yTk82ClIh051Z2kymmtYoAT7ohT+T1K3e2U1x10vikpcQE9RBDA1YH9J/mqJMyyPlDRDa/9QQ== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 23 Jan 2008 20:57:13 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18hGiVeXo37qN7mrxKgc7dGvxO0hJFH4rMoggGdobZ3tw== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:OomtXHJ6IVGVERoz4R3PpIopE0k= User-Agent: slrn/pre0.9.9-82/rt (Linux)