🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Dan Swartzendruber Tue, 01 Apr 1997 00:00
inncheck vs 'make install'?
#16534
Author: Dan Swartzendruber
Date: Tue, 01 Apr 1997 00:00
25 lines
1318 bytes

I recently upgraded a site to 1.5.1 (under Linux).  I ran 'inncheck -perm'
and it complained about a bunch of permissions (some file ownership and
some access rights).  I was wondering how these got screwed up, since I
had run 'make install' from /usr/src/inn-1.5.1.  An example:  inncheck
complained thusly about 'rnews':

/usr/lib/news/bin/rnews:0: in group uucp, should be news
/usr/lib/news/bin/rnews:0: mode 4550, should be 2555

Yet, here is the output of 'make -n install' from the 1.5.1 source tree:

/bin/sh ../installit.sh -O news -G uucp -m 04550 -b .OLD rnews
/usr/lib/news/bin/rnews

So, it looks like the Makefile wants rnews setuid news, owned by news.uucp,
yet inncheck disagrees, and wants it setgid, owned by news.news.  Who is right?

-- 

Dan Swartzendruber


Re: inncheck vs 'make install'?
#16628
Author: Will Crowder
Date: Thu, 03 Apr 1997 00:00
37 lines
1960 bytes
In article <yy3vi65ueh2.fsf@velo.pp.vix.com>, James Brister
<brister@vix.com> wrote:

>dswartz@druber.com (Dan Swartzendruber) writes:
>
>> So, it looks like the Makefile wants rnews setuid news, owned by news.uucp,
>> yet inncheck disagrees, and wants it setgid, owned by news.news.  Who is
>> right?
>
>make. inncheck needs to get fixed.

I'm not convinced make is right in this case...Installing rnews with
those permissions breaks UUCP-based batch feeds, at least, it broke
mine.  I posted about this a while ago, but didn't get any responses on
the newsgroup.  I did finally get a response from someone in Germany
having the exact same problem that I had: uuxqt couldn't execute
rnews.  I just set the rnews permissions to those wanted by inncheck
(which I do acknolwedge is less secure), and my problems went away.

My system is SunOS 4.1.4 with the stock UUCP distribution...nothing
strange/changed about it.

So is anyone out there running 1.5.1 with a UUCP batch feed and the
1.5.1 "stock" permissions for rnews successfully?  If so, please let me
know how you did it!

Thanks,

Will Crowder
-- 
Will Crowder                        |   "Any airplane you can't roll ain't
Sandpiper Consulting 		    |      no damn good!"
(will@sandpiper.com)		    |		- Tex Johnston
805 371 9098 x2160		    |

Re: inncheck vs 'make install'?
#16640
Author: Heiko W.Rupp
Date: Thu, 03 Apr 1997 00:00
33 lines
1658 bytes
In <yy3vi65ueh2.fsf@velo.pp.vix.com>, James Brister wrote:
:|dswartz@druber.com (Dan Swartzendruber) writes:
:|
:|> So, it looks like the Makefile wants rnews setuid news, owned by news.uucp,
:|> yet inncheck disagrees, and wants it setgid, owned by news.news.  Who is right?
:|
:|make. inncheck needs to get fixed.

On some sites (that run taylor uucp) I also get good results with the
following:

blackbush% l /bin/rnews
  50 -r-sr-s--x   1 uucp     news       24724 Dec 10 14:59 /bin/rnews


This comes from the fact that taylor saves the batches as

  x -rw--------   1 uucp     uucp .....

Which means that they are not accessible to a member of group uucp.

One could change the umask, but this way security is better. The sgid
news bit assures that rnews can save failed batches to in.coming/bad.

Will add this to the FAQ  as #7.50....

-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Re: inncheck vs 'make install'?
#16667
Author: James Brister
Date: Thu, 03 Apr 1997 00:00
14 lines
972 bytes
dswartz@druber.com (Dan Swartzendruber) writes:

> So, it looks like the Makefile wants rnews setuid news, owned by news.uucp,
> yet inncheck disagrees, and wants it setgid, owned by news.news.  Who is right?

make. inncheck needs to get fixed.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads