Article View: news.software.readers
Article #215262Re: [slrn] + [leafnode] a few questions
From: Rikishi 42
Date: Wed, 23 Jan 2008 22:09
Date: Wed, 23 Jan 2008 22:09
34 lines
2463 bytes
2463 bytes
On 2008-01-23, andrew <andrew@ilium.invalid> wrote: >> I use *my* cron, to run a script in which sudo is called. >> No need to run it as root. >> >> I recently put my scripts on my server, to fetch them from the office. >> >> If you want them, they're still sitting there: >> http://www.rikishi42.net/SkunkWorks/LeafNode/ > > Thank you very much for this, I have taken the liberty of downloading > all scripts for study offline. > > I have managed to wrestle 'news' into life and for the moment I am > happy with a few simple crontab settings but I have picked up a few > ideas after combing through your scripts. For example: > > ls /var/spool/news/interesting.groups/ -lutrgG > > although I admit I had to look up a few of those options :-) To get the scripts to work 'as-is', just put these in your /etc/sudoers file: # Runas alias specification YourUser ALL=(news) NOPASSWD: /usr/sbin/fetchnews YourUser ALL=(news) NOPASSWD: /usr/sbin/texpire YourUser ALL=(news) NOPASSWD: /usr/bin/env Where YourUser is your username, of course. -- There is an art, it says, or rather, a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Douglas Adams
Technical Details
Message-ID:
<diqk65-m02.ln1@whisper.very.softly>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!aotearoa.belnet.be!news.belnet.be!kramikske.telenet-ops.be!nntp.telenet.be!biebel.telenet-ops.be.POSTED!b6153e94!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> <uafk65-5k.ln1@whisper.very.softly> <20080124072839@ilium.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <diqk65-m02.ln1@whisper.very.softly> Subject: Re: [slrn] + [leafnode] a few questions Date: Wed, 23 Jan 2008 23:09:49 +0100 From: Rikishi 42 <skunkworks@rikishi42.net> 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> <uafk65-5k.ln1@whisper.very.softly> <20080124072839@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!aotearoa.belnet.be!news.belnet.be!kramikske.telenet-ops.be!nntp.telenet.be!biebel.telenet-ops.be.POSTED!b6153e94!not-for-mail Newsgroups: news.software.readers User-Agent: slrn/0.9.8.0 (Linux) Lines: 34 NNTP-Posting-Host: 84.197.232.9 X-Trace: biebel.telenet-ops.be 1201126201 84.197.232.9 (Wed, NNTP-Posting-Date: Wed, 23 Jan 2008 23:10:01 CET