Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 1998 08:20:09 -0400 (EDT)
From:      Bill Vermillion <bill@bilver.magicnet.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: UUCP and rnews
Message-ID:  <199806091220.IAA12528@bilver.magicnet.net>
In-Reply-To: <199806090605.XAA06576@ravel.n2.net> from Dave Smith at "Jun 8, 98 11:05:02 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Recently Dave Smith said:
> 
> I have made the change you suggested and it does not work.
> 
> I suspect your answers to the other questions may help me figure
> out the proper solution to the problem.
> 
> Thanks,
> Dave Smith
> 
> > On Mon, Jun 08, 1998 at 02:43:01PM +0300, Vadim V. Chepkov wrote:
> > > Dave Smith wrote:

> > > > Has anyone already solved this problem, and if so how?

I didn't recall the orignal question but I stared with 'b' news in
1986, move to 'c' news in 1980, and put it up on FreeBSD after the
old Esix system died after 7 years.

Someone else said:

> > > I made

> > > chmod g+s /usr/libexec/uucp/uuxqt

> > > and all works fine.

That's only one thing.

Someone else said this - and the part of the message is refers to
is gone.

> > I don't quite understand how this could fix the problem.  If the
> > group on the uuxqt file is uucp, then this would make the program a
> > member of the "uucp" group.  I am willing to try it, but I am skeptical
> > about whether this can solve this problem.

uuqxt is supposed to have these permissions.   

-r-sr-x---  1 uucp  uucp  90112 Apr  1  1997 /usr/libexec/uucp/uuxqt

It is supposed to run 'suid' as uucp - which is more of the key to
the story than group ownership

> > The problem as I see it is that the rnews program is running as a 
> > separate process as user "news" and group "news" which does not 
> > have permission to read the file.

That is where your system an mine differ. 

lrwxr-xr-x  1 bin  bin  36 Mar 15 11:28 /usr/local/bin/rnews -> /usr/local/news/cnewsbin/input/rnews

-rwxr-xr-x  1 bin  bin  1987 Mar 13  1997 /usr/local/news/cnewsbin/input/rnews

As you will note this is set to 'bin' on this system.

In the cnewsbin/input file the only file 'not' set to bin is
'newspool' which is set to news.

It's been quite a while since I've installed all of this but there
are choices to be made during the compile on what users run what.
I also recall there were about 3 steps after compile that set
proper permissions.   There are tests that are there that can be
run after compilation to check on proper operation.

Gawd - I remeber 3 HOUR compiles in the days of 6MHz 68000s.  Now
if you make a mistake you can redo everything in a fairly short
time.

> > What are the entries in the group file for uucp and news?

uucp is 66, news is 8

Bill
-- 
bill@bilver.magicnet.net | bill@bilver.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806091220.IAA12528>