🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82805

Re: INN 2.5.1 Owner-Group different than 2.4.5

#82805
From: John F. Morse
Date: Sat, 13 Feb 2010 00:27
56 lines
3152 bytes
Russ Allbery wrote:

> incoming.conf should be 640 root:news.
>   


Please see my comment to Julien about inncheck.


>> With the world having execute privileges, news can certainly run these
>> files, but so could anybody who gains access.
>>     
>
> Which is harmless (and in some cases even desireable, for utility
> programs).  They won't have write access to the spool directories.
>   


Then there is little or no reason I couldn't make it easier on myself, 
and make the /var/log/news log files readable by my normal username so I 
wouldn't need to su so often.

That would be safer than adding my user account to the news group, which 
could easily cause other problems.


>> I don't understand why the owner:group was changed from 2.4.x to 2.5.x,
>> but it looks like the permissions make everything work the same, except
>> for security.
>>     
>> Why there are read and execute flags set for the world is another
>> puzzle. Ideas?
>>     
>
> http://www.debian.org/doc/debian-policy/ch-files.html#s10.9
>
>     Setuid and setgid executables should be mode 4755 or 2755
>     respectively, and owned by the appropriate user or group. They should
>     not be made unreadable (modes like 4711 or 2711 or even 4111); doing
>     so achieves no extra security, because anyone can find the binary in
>     the freely available Debian package; it is merely inconvenient. For
>     the same reason you should not restrict read or execute permissions on
>     non-set-id executables.
>   


I'm going to save that one to digest tomorrow, after the Olympic Opening 
Ceremonies.

Thanks for your help.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <hl4rkn$e7o$1@optima5.xanadu-bbs.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
References: <hl2qud$srr$2@optima5.xanadu-bbs.net> <87d40apbfq.fsf@windlord.stanford.edu> <hl480b$8q7$1@optima5.xanadu-bbs.net> <hl4gbh$ckg$1@news.trigofacile.com> <hl4nt6$d7d$1@optima5.xanadu-bbs.net> <878wayjami.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <hl4rkn$e7o$1@optima5.xanadu-bbs.net>
Subject: Re: INN 2.5.1 Owner-Group different than 2.4.5
Date: Fri, 12 Feb 2010 18:27:03 -0600
From: "John F. Morse" <john@example.invalid>
References: <hl2qud$srr$2@optima5.xanadu-bbs.net> <87d40apbfq.fsf@windlord.stanford.edu> <hl480b$8q7$1@optima5.xanadu-bbs.net> <hl4gbh$ckg$1@news.trigofacile.com> <hl4nt6$d7d$1@optima5.xanadu-bbs.net> <878wayjami.fsf@windlord.stanford.edu>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 56
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: optima5.xanadu-bbs.net 1266020823 14584 192.168.89.210 (13 Feb 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sat, 13 Feb 2010 00:27:03 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
In-Reply-To: <878wayjami.fsf@windlord.stanford.edu>
X-Enigmail-Version: 0.96.0