Article View: news.software.nntp
Article #73886Re: should permissions be news and not root
From: Black Dragon
Date: Fri, 21 Jul 2006 03:17
Date: Fri, 21 Jul 2006 03:17
63 lines
4498 bytes
4498 bytes
F. Senault wrote: > 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... Sage advice. Like you the news user on my system has a fully configured shell and only the news user has the INN binaries in its path. The first time I used INN and suck they were installed from an RPM on a RedHat Linux system and I never did get it to work right. File ownership was hosed, files were scattered illogically all over the system, etc, making readily available documentation totally useless for a noob. It took a few days, but I eventually realized whoever packaged the RPM had to have been a complete retard and the only way I was going to have a working news server was to install from source and the documentation provided with it. Specifically, INN's INSTALL file, and the suck README file. To the OP, rob, if you haven't already, and it seems as if you haven't, it's highly suggested to download and unpack the source tarballs for INN and suck and at least read the supplied documentation. You should then consider building and installing from source since by the time you're done you will have a pretty good handle on the basics which will make administering the system much easier and more enjoyable. My $.05 FWIW. -- Black Dragon De Hispanice puella verumque Simplex oris verborumque Tulit potens vagina Hominum agmina Iterum iterum iterumque.
Technical Details
Message-ID:
<slrnec0hr4.ipi.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!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!fe37.usenetserver.com.POSTED!21bd460e!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> <p0tfo7gqq9no$.dlg@tamnavulin.lacave.local>Show Full Headers
Complete Article Headers
Message-ID: <slrnec0hr4.ipi.bd@bdhi.local> Subject: Re: should permissions be news and not root Date: Fri, 21 Jul 2006 03:17:56 +0000 From: Black Dragon <bd@nomail.invalid> 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> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!fe37.usenetserver.com.POSTED!21bd460e!not-for-mail Newsgroups: news.software.nntp Organization: Black Dragon Heavy Industries Lines: 62 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-No-Archive: yes User-Agent: slrn/0.9.8.1 (FreeBSD) X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Thu, 20 Jul 2006 23:20:01 EDT