Article View: news.software.nntp
Article #73871Re: should permissions be news and not root
From: John F. Morse
Date: Wed, 19 Jul 2006 17:25
Date: Wed, 19 Jul 2006 17:25
100 lines
4788 bytes
4788 bytes
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
Technical Details
Message-ID:
<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!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!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>Show Full Headers
Complete Article Headers
Message-ID: <ZVtvg.149209$mF2.48245@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: should permissions be news and not root Date: Wed, 19 Jul 2006 17:25:13 GMT From: "John F. Morse" <xanadu.bbs@invalid.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> 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!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <1153303000.311206.146590@s13g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Lines: 100 NNTP-Posting-Host: c83ac925adba9a876218b9e6fa9565bb X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1153329913 NNTP-Posting-Date: Wed, 19 Jul 2006 17:25:13 GMT