Article View: news.software.nntp
Article #73883Re: should permissions be news and not root
From: F. Senault
Date: Thu, 20 Jul 2006 17:17
Date: Thu, 20 Jul 2006 17:17
36 lines
3413 bytes
3413 bytes
Le 20 juillet 2006 ร 16:18, Black Dragon a รฉcrit :
> You should run programs as root only when absolutely necessarily. Since
> ctlinnd is owned and run by the news user, why not run suck as the news
> user too to keep things as simple as possible too?
Yes. It's probably the best way to keep the setup safe and headache
free.
By the way, I believe that nobody has made this recommandation yet : the
news user should have a nice and comfortable shell configured to be
fully usable (environment, scripts, dot files, etc), just like your own
user. Once that is done, use it exclusively to work on the server.
My own way to do that is to exclude the news binaries
(/usr/local/news/bin on my system) from everybody's path except news.
So, if I try to do something as root, it'll usually fail.
And, now, an even broader tip to the OP : you should take some time to
understand what's going on under the hood, from unix basics to the
interactions between parts of your news server. The problems you
encounter are installation specific, and unix specific - not much to do
with the news system in itself. Relying on random usenet contributors
(I include myself in the lot) to tell you how to change permissions on
your system is not always a good idea if you don't understand the bases.
Don't see an agression in this, but really, from a security standpoint,
you're just offering a loaded handgun to random strangers in the
street...
Fred
--
I need to watch things die From a good safe distance
Vicariously, I Live while the whole world dies
You all feel the same so Why can't we just admit it?
(Tool, Vicarious)
Technical Details
Message-ID:
<p0tfo7gqq9no$.dlg@tamnavulin.lacave.local>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.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!proxad.net!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!not-for-mailReferences:
<1153141206.278388.106730@m79g2000cwm.googlegroups.com> <e9j43v$374$1@smilodon.ecp.fr> <1153256041.036971.98240@s13g2000cwa.googlegroups.com> <s0cvg.416584$Fs1.145194@bgtnsc05-news.ops.worldnet.att.net> <e9jkcq$8ga$1@smilodon.ecp.fr> <QXlvg.420008$Fs1.162744@bgtnsc05-news.ops.worldnet.att.net> <1153303000.311206.146590@s13g2000cwa.googlegroups.com> <ZVtvg.149209$mF2.48245@bgtnsc04-news.ops.worldnet.att.net> <1153331412.866857.117410@h48g2000cwc.googlegroups.com> <slrnebv46d.2odn.bd@bdhi.local>Show Full Headers
Complete Article Headers
Message-ID: <p0tfo7gqq9no$.dlg@tamnavulin.lacave.local> Subject: Re: should permissions be news and not root Date: Thu, 20 Jul 2006 19:17:22 +0200 From: "F. Senault" <fred@lacave.net> References: <1153141206.278388.106730@m79g2000cwm.googlegroups.com> <e9j43v$374$1@smilodon.ecp.fr> <1153256041.036971.98240@s13g2000cwa.googlegroups.com> <s0cvg.416584$Fs1.145194@bgtnsc05-news.ops.worldnet.att.net> <e9jkcq$8ga$1@smilodon.ecp.fr> <QXlvg.420008$Fs1.162744@bgtnsc05-news.ops.worldnet.att.net> <1153303000.311206.146590@s13g2000cwa.googlegroups.com> <ZVtvg.149209$mF2.48245@bgtnsc04-news.ops.worldnet.att.net> <1153331412.866857.117410@h48g2000cwc.googlegroups.com> <slrnebv46d.2odn.bd@bdhi.local> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.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!proxad.net!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!not-for-mail Newsgroups: news.software.nntp Organization: Grand Maitre de la Secte de l'Elephant Fuschia Lines: 36 NNTP-Posting-Host: 212-100-178-134.adsl.easynet.be Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Trace: talisker.lacave.net 1153415857 37034 212.100.178.134 (20 Jul 2006 X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Thu, 20 Jul 2006 17:17:37 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.15.1fr (6776a760.182.298)