Article View: news.software.nntp
Article #73888Re: should permissions be news and not root
From: rob
Date: Fri, 21 Jul 2006 07:07
Date: Fri, 21 Jul 2006 07:07
86 lines
5322 bytes
5322 bytes
Black Dragon wrote: > 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. thankyou for all your posts. installing from source is an option but will use it only when other options have been exhausted. another email from italy suggested > output at end of suck > /etc/suck/sucknewsrc: Permission denied > Moving newsrc to backup: Permission denied chown news [name of your script] [your script] is the path and name of that script which call suck chmod 777 etc/suck/sucknewsrc script is called suck? robert
Technical Details
Message-ID:
<1153465678.258470.283670@s13g2000cwa.googlegroups.com>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!postnews.google.com!s13g2000cwa.googlegroups.com!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> <slrnec0hr4.ipi.bd@bdhi.local>Show Full Headers
Complete Article Headers
Message-ID: <1153465678.258470.283670@s13g2000cwa.googlegroups.com> Subject: Re: should permissions be news and not root Date: Fri, 21 Jul 2006 07:07:58 +0000 From: "rob" <r.rimmer@gmx.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> <p0tfo7gqq9no$.dlg@tamnavulin.lacave.local> <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!nntp.giganews.com!postnews.google.com!s13g2000cwa.googlegroups.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 86 NNTP-Posting-Host: 88.96.109.78 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1153465684 30177 127.0.0.1 (21 Jul 2006 07:08:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 21 Jul 2006 07:08:04 +0000 (UTC) In-Reply-To: <slrnec0hr4.ipi.bd@bdhi.local> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; Firefox/1.5.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: s13g2000cwa.googlegroups.com; posting-host=88.96.109.78; posting-account=gyTLVg0AAABIfpFuS2H6z1rVhzADDTx0