Article View: news.software.nntp
Article #73872Re: should permissions be news and not root
From: rob
Date: Wed, 19 Jul 2006 17:50
Date: Wed, 19 Jul 2006 17:50
136 lines
5986 bytes
5986 bytes
John F. Morse wrote: > rob wrote: > > >John F. Morse wrote: > > > > > >>Iulius wrote: > >> > >> > >> > >>>En réponse à John F. Morse : > >>> > >>> > >>> > >>>>You can easily copy and paste that log into a shell and it will do > >>>>the work for you. > >>>> > >>>> > >>>That is to say: > >>> > >>>/usr/lib/news/bin/inncheck -f -perms > result > >>>sh result > >>> > >>> > >> > >>Yes. That is the method I originally read. > >> > >>Thanks. > >> > >> > >> > > > > > > > >thnaks for all your post. > > > >sas was obtained by running > >rob@xstation:~$ /usr/lib/news/bin/inncheck -f -perms > sas > > > > > > > >so i ran file sas with command:(as root) > > > >rob@xstation:~$ sudo sh sas > >Password: > >rob@xstation:~$ cd /etc/news > >rob@xstation:/etc/news$ ls -la > >total 296 > >drwxr-xr-x 3 news news 4096 2006-07-11 12:23 . > >drwxr-xr-x 90 root root 4096 2006-07-19 07:08 .. > >-rw-r--r-- 1 root root 155 2006-03-15 10:39 actsync.cfg > >-rw-r--r-- 1 root root 382 2006-03-15 10:39 actsync.ign > >-rw-r--r-- 1 root root 304 2006-03-15 10:39 buffindexed.conf > >-rw-r----- 1 news news 87179 2006-07-11 14:20 control.ctl > >-rw-r--r-- 1 root root 859 2006-03-15 10:39 cycbuff.conf > >-rw-r--r-- 1 root root 495 2006-03-15 10:39 distrib.pats > >-rw-r----- 1 news news 1424 2006-03-15 10:39 expire.ctl > >drwxr-xr-x 2 root root 4096 2006-06-29 11:37 filter > >-rw-r----- 1 news news 5353 2006-03-15 10:39 incoming.conf > >-rw-r--r-- 1 news news 4831 2006-07-10 18:42 inn.conf > >-rw-r--r-- 1 root root 3179 2006-03-15 10:39 innfeed.conf > >-rw-r--r-- 1 root root 72395 2006-03-15 10:39 innreport.conf > >-rw-r--r-- 1 root root 2120 2006-03-15 10:39 innwatch.ctl > >-rw-r--r-- 1 news news 1158 2006-03-15 10:39 moderators > >-rw-r--r-- 1 root root 185 2006-03-15 10:39 motd.news > >-rw-r--r-- 1 root root 609 2006-03-15 10:39 news2mail.cf > >-rw-r--r-- 1 news news 5007 2006-07-05 14:26 newsfeeds > >-rw-r--r-- 1 root root 516 2006-03-15 10:39 nnrpd.track > >-rw-r----- 1 news news 583 2006-03-15 10:39 nntpsend.ctl > >-rw-r--r-- 1 root root 4939 2006-03-15 10:39 ovdb.conf > >-rw-r--r-- 1 news news 340 2006-03-15 10:39 overview.fmt > >-rw-r----- 1 news news 597 2006-03-15 10:39 passwd.nntp > >-rw-r--r-- 1 root root 1784 2006-03-15 10:39 radius.conf > >-rw-r----- 1 news news 4898 2006-07-11 09:20 readers.conf > >-rw-r--r-- 1 root root 911 2006-03-15 10:39 send-uucp.cf > >-rw-r--r-- 1 root root 1430 2006-03-15 10:39 storage.conf > >-rw-r--r-- 1 root root 114 2006-03-15 10:39 subscriptions > > > > > >robert > > > > > Does it still work OK? > > I presume it does. > > I think changing the owner and group to user "news" just makes it easier > to modify these config files without having to sudo, which also means > you would need to add the user "news" to the /etc/sudoers file first. > > Perhaps Jeff or Russ can verify this? I seem to remember reading or > being told that these inncheck ownership errors are not important, as > long as user "news" can read by having the mode "r" in the "others" column. > > I have my personal user account in the sudoers, and use it when > modifying the config files. I don't give "news" sudo privileges to > eliminate that route should a hacker somehow become the user "news." > > -- > John well it not appear to be: i have a file called cron.allow in which i have placed rob. news. root root@xstation.abcd.net (Cron Daemon) To: rob@xstation.4096.net Subject: Cron <rob@xstation> suck nntp.aioe.org -A -bp -hl localhost -c -i 200 -M -n -Q X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/rob> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=rob> Message-Id: <20060719100450.BD8C6391C1E@xstation.4096.net> Date: Wed, 19 Jul 2006 11:04:50 +0100 (BST) Invalid default read for new active group, must be <= 0 Attempting to connect to nntp.aioe.org Using Port 119 Official host name: nntp.aioe.org Address: 81.174.50.80 Connected to nntp.aioe.org and at the end : /etc/suck/sucknewsrc: Permission denied Moving newsrc to backup: Permission denied robert
Technical Details
Message-ID:
<1153331412.866857.117410@h48g2000cwc.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!h48g2000cwc.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>Show Full Headers
Complete Article Headers
Message-ID: <1153331412.866857.117410@h48g2000cwc.googlegroups.com> Subject: Re: should permissions be news and not root Date: Wed, 19 Jul 2006 17:50:12 +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> 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!h48g2000cwc.googlegroups.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 136 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 1153331418 3741 127.0.0.1 (19 Jul 2006 17:50:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 Jul 2006 17:50:18 +0000 (UTC) In-Reply-To: <ZVtvg.149209$mF2.48245@bgtnsc04-news.ops.worldnet.att.net> 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: h48g2000cwc.googlegroups.com; posting-host=88.96.109.78; posting-account=gyTLVg0AAABIfpFuS2H6z1rVhzADDTx0