Thread View: news.software.nntp
11 messages
11 total messages
Started by Mike Frisch
Fri, 06 Dec 1996 00:00
INN 1.5 & rnews?
Author: Mike Frisch
Date: Fri, 06 Dec 1996 00:00
Date: Fri, 06 Dec 1996 00:00
19 lines
1229 bytes
1229 bytes
If "rnews" from INN 1.5 (and presumably previous versions) is required to be setuid root, why doesn't the installation script install it as such? During my recent upgrade to 1.5 on my home system, I struggled trying to figure out why rnews wasn't able to "talk" to the server. Changing the binary to setuid root fixed everything, but this wasn't my first attempt at a solution as I had assumed it would've been installed with the proper permissions. Mike. -- ====================================================================== Mike Frisch Email: mfrisch@saturn.tlug.org Northstar Technologies WWW: http://www.io.org/~mfrisch Newmarket, Ontario, Canada
Re: INN 1.5 & rnews?
Author: James Brister
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
19 lines
1182 bytes
1182 bytes
mfrisch@saturn.tlug.org (Mike Frisch) writes: > If "rnews" from INN 1.5 (and presumably previous versions) is required to > be setuid root, why doesn't the installation script install it as such? Errr. Maybe beacuse it's not supposed to be setuid root? Only inndstart is supposed be setuid root. rnews is supposed to setgid uucp. -r-xr-s--- 1 news uucp 186152 Nov 30 01:22 /usr/news/bin/rnews* Are you on a Next box? James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: INN 1.5 & rnews?
Author: Joshua Goodall
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
32 lines
1869 bytes
1869 bytes
Mike Frisch (mfrisch@saturn.tlug.org) wrote: : If "rnews" from INN 1.5 (and presumably previous versions) is required to : be setuid root, why doesn't the installation script install it as such? : During my recent upgrade to 1.5 on my home system, I struggled trying to : figure out why rnews wasn't able to "talk" to the server. Changing the : binary to setuid root fixed everything, but this wasn't my first attempt : at a solution as I had assumed it would've been installed with the proper : permissions. I've had no trouble from the following rnews under INN1.5: -r-sr-s--- news uucp &c. rnews i.e. #chown news.uucp rnews #chmod 6550 rnews If the installation script were to set the permissions for you then you would have to be running it as root. Which is not something I would ever recommend, even with something as solid as INN. BTW does anyone know of a version of rnews that's known to work under Windows? ATM I have a crufty perl script turning PKZIPPED rnews batches (from a satellite) into an IHAVE stream to our main server which works, just not as quickly as it might. -- Joshua Goodall <joshua@ednet.co.uk> Edinburgh's local ISP: edNET Support Group http://www.ednet.co.uk/
Re: INN 1.5 & rnews?
Author: James Brister
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
16 lines
1160 bytes
1160 bytes
mfrisch@saturn.tlug.org (Mike Frisch) writes: > If "rnews" from INN 1.5 (and presumably previous versions) is required to > be setuid root, why doesn't the installation script install it as such? rnews is meant to be used by uucp and other system-level news transfer programs. If you're trying to run rnews from regular user-level scripts you're probably doing the wrong thing. That's what inews is for. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org/isc inn@isc.org
Re: INN 1.5 & rnews?
Author: Mike Frisch
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
31 lines
1605 bytes
1605 bytes
On 9 Dec 1996 19:59:43 GMT, Joshua Goodall <joshua@monteverdi.ednet.co.uk> wrote: >I've had no trouble from the following rnews under INN1.5: > >-r-sr-s--- news uucp &c. rnews > >i.e. >#chown news.uucp rnews >#chmod 6550 rnews I have no problems with it configured as such myself, but the installation script doesn't setuid news (not root as I had previously mentioned, my mistake) when it installs rnews. >If the installation script were to set the permissions for you then >you would have to be running it as root. Which is not something I would >ever recommend, even with something as solid as INN. True enough. I mistakenly thought I had my setuid root and not setuid news as I should've reported. Mike. -- ====================================================================== Mike Frisch Email: mfrisch@saturn.tlug.org Northstar Technologies WWW: http://www.io.org/~mfrisch Newmarket, Ontario, Canada
Re: INN 1.5 & rnews?
Author: Doug Sewell
Date: Tue, 10 Dec 1996 00:00
Date: Tue, 10 Dec 1996 00:00
20 lines
1265 bytes
1265 bytes
Thus spake James Brister <brister@vix.com>: > >rnews is meant to be used by uucp and other system-level news transfer >programs. If you're trying to run rnews from regular user-level scripts >you're probably doing the wrong thing. That's what inews is for. If "inews" encounters a duplicate message-id - ie from a mail-news gateway - it bounces the post. If "rnews" encounters a duplicate message-id it just falls on the floor - which is what I want it to do. -- Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/~doug/) E-mail advertisers: put me on your "don't call, don't e-mail" list. You are your own worst critic. Strive for excellence, not perfection.
Re: INN 1.5 & rnews?
Author: Art Mills
Date: Tue, 10 Dec 1996 00:00
Date: Tue, 10 Dec 1996 00:00
11 lines
976 bytes
976 bytes
: BTW does anyone know of a version of rnews that's known to work under : Windows? ATM I have a crufty perl script turning PKZIPPED rnews batches : (from a satellite) into an IHAVE stream to our main server which works, : just not as quickly as it might. I run samba on the news server and set the config of the sat software file to write to the remote drive
Re: INN 1.5 & rnews?
Author: Scott Hazen Mueller
Date: Fri, 13 Dec 1996 00:00
Date: Fri, 13 Dec 1996 00:00
14 lines
1261 bytes
1261 bytes
>rnews is meant to be used by uucp and other system-level news transfer
>programs. If you're trying to run rnews from regular user-level scripts
>you're probably doing the wrong thing. That's what inews is for.
Several bits I've written craft up a batch and call rnews. It's the only
reasonable way (for example) for the ba.weather droid to post 21 articles in
one bunch. It's also a really good way IMHO for an undigester to work -
stream-convert the digest to a newsbatch in one operation, give it to rnews.
\scott
Re: INN 1.5 & rnews?
Author: Joshua Goodall
Date: Sat, 14 Dec 1996 00:00
Date: Sat, 14 Dec 1996 00:00
21 lines
1538 bytes
1538 bytes
Art Mills (aem@cyberhighway.net) wrote: : : BTW does anyone know of a version of rnews that's known to work under : : Windows? ATM I have a crufty perl script turning PKZIPPED rnews batches : : (from a satellite) into an IHAVE stream to our main server which works, : : just not as quickly as it might. : I run samba on the news server and set the config of the sat software file : to write to the remote drive I tried that, and wasn't at all happy with the CPU strain of unzipping into rnews, especially with this box sitting just downloading from satellite and doing nowt else. So I wrote rnews in perl for Win95. Hardly optimal but it works. If I get around to documenting it properly I might post to CPAN. -- Joshua Goodall <joshua@ednet.co.uk> Edinburgh's local ISP: edNET Support Group / News admin http://www.ednet.co.uk/
Re: INN 1.5 & rnews?
Author: Mike Frisch
Date: Fri, 20 Dec 1996 00:00
Date: Fri, 20 Dec 1996 00:00
19 lines
1332 bytes
1332 bytes
On 7 Dec 1996 04:11:44 GMT, Howard Goldstein <hgoldste@mpcs.com> wrote: >I'm guessing it's not setuid anything in the install as a bar to >spammers and forge injectors? I am a little confused here... I run UUCP for my primary news feed and uucico is excecuted as the "uucp" user from a cron job. It calls rnews to inject news into the news spool via INN. Should I have uucp running as "news" and turn off world execute rights for rnews? Mike. -- ====================================================================== Mike Frisch Email: mfrisch@saturn.tlug.org Northstar Technologies WWW: http://www.io.org/~mfrisch Newmarket, Ontario, Canada
Re: INN 1.5 & rnews?
Author: Ollivier Robert
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
20 lines
1475 bytes
1475 bytes
[courtesy cc of this posting sent to cited author via email]
In article <slrn5bljb9.od4.mfrisch@gateway.saturn.tlug.org>,
Mike Frisch <mfrisch@rogerswave.ca> wrote:
> I am a little confused here... I run UUCP for my primary news feed and
> uucico is excecuted as the "uucp" user from a cron job. It calls rnews to
> inject news into the news spool via INN. Should I have uucp running as
> "news" and turn off world execute rights for rnews?
INN 1.5.1 installs rnews with the following permissions, allowing uucp to
work as usual:
-r-sr-x--- 1 news uucp 23325 Dec 26 00:20 /bin/rnews
--
Ollivier ROBERT -=- FreeBSD: The daemon is FREE! -=- roberto@freebsd.org
Usenet Canal Historique
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