Thread View: news.software.nntp
10 messages
10 total messages
Started by Greg Hartzog
Thu, 25 Jan 1996 00:00
Can't get innd to start as news
Author: Greg Hartzog
Date: Thu, 25 Jan 1996 00:00
Date: Thu, 25 Jan 1996 00:00
16 lines
1075 bytes
1075 bytes
Hello folks. I am having a really dumb problem. I can not get inndstart
to start if I run rc.news as news. I have tried 2555, 4555, and 6555
as permissions on inndstart but it does not make any difference. The
exact error message that inndstart is giving me is
inndstart cant bind Permission denied
If I run rc.news as root then inndstart and innd go ahead and run, but
then nntpget fails. If you have seen this before or have any ideas
I can try, please let me know. Thanks
Greg Hartzog
ghartzog@atc-usa.com
ghartzog@mindspring.com
Re: Can't get innd to start as news
Author: Steve Howie
Date: Thu, 25 Jan 1996 00:00
Date: Thu, 25 Jan 1996 00:00
24 lines
1515 bytes
1515 bytes
Greg Hartzog (ghartzog@crl.com) wrote: : Hello folks. I am having a really dumb problem. I can not get inndstart : to start if I run rc.news as news. I have tried 2555, 4555, and 6555 : as permissions on inndstart but it does not make any difference. The : exact error message that inndstart is giving me is : inndstart cant bind Permission denied : rc.news must be run as root, since innd must bind to port 119 to listen for incoming connections. This is a privileged port ( <1024 but depends on the OS IIRC). Scotty ================================================================= Steve Howie Email: showie@uoguelph.ca NetNews and Listserv Admin. Phone: (519) 824-4120 x2556 Computing and Communications Svcs. Fax: (519) 763-6143 University of Guelph If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP =================================================================
Re: Can't get innd to start as news
Author: Nathan J. Mehl
Date: Fri, 26 Jan 1996 00:00
Date: Fri, 26 Jan 1996 00:00
22 lines
1453 bytes
1453 bytes
In article <4ebcmk$br7@dodgson.math.psu.edu>,
barr@math.psu.edu (Dave Barr) writes:
>in inn1.4, rc.news runs as root
>
>in inn1.4unoff3 rc.news runs as news, and inndstart needs to be setuid
>root. If you're still having problems, make sure the filesystem
>that inndstart is on is not mounted with the 'nosuid' option.
I'm curious -- are there any ill effects to be expected from running
rc.news as root under unoff3?
-n
--
"The life of a sysadmin is always intense!"
If you think I speak for my employer, they'll be happy to correct you.
Nathan J. Mehl -- Just another bozo on the usenet bus -- nathan@bbnplanet.com
<A HREF="http://ccat.sas.upenn.edu/~nmehl">homepagesque</A>
Re: Can't get innd to start as news
Author: Dave Barr
Date: Fri, 26 Jan 1996 00:00
Date: Fri, 26 Jan 1996 00:00
16 lines
1211 bytes
1211 bytes
In article <4e8ijn$id@crl.crl.com>, Greg Hartzog <ghartzog@crl.com> wrote: >Hello folks. I am having a really dumb problem. I can not get inndstart >to start if I run rc.news as news. I have tried 2555, 4555, and 6555 >as permissions on inndstart but it does not make any difference. The >exact error message that inndstart is giving me is > inndstart cant bind Permission denied in inn1.4, rc.news runs as root in inn1.4unoff3 rc.news runs as news, and inndstart needs to be setuid root. If you're still having problems, make sure the filesystem that inndstart is on is not mounted with the 'nosuid' option. --Dave
Re: Can't get innd to start as news
Author: Mike O'Connor
Date: Sat, 27 Jan 1996 00:00
Date: Sat, 27 Jan 1996 00:00
23 lines
1654 bytes
1654 bytes
In article <4edskd$ep5@rodan.UU.NET>, Rich Salz <rsalz@uunet.uu.net> wrote: :>rc.news must be run as root : :No. If you use inndstart, and you have read the source and trusted it, :then you can make inndstart setuid root, and run rc.news as news. For that matter, you don't need to run rc.news per se, but you ought to deal with the conditions that rc.news deals with in some logical fashion. rc.news is a front end that deals with some problems in an arbitrary way which may or may not be appropriate for your system. (I happen to hate it when rc.news restarts an interrupted expire right after a system is booted up, because I'm already going to have my disk I/O spiked by sites feeding me backlog... just as an example.) ...Mike -- Michael J. O'Connor Internet: mjo@dojo.mi.org InterNIC WHOIS: MJO http://www.coast.net/~mjo "A man's got to know his limitations." -Dirty Harry
Re: Can't get innd to start as news
Author: Rich Salz
Date: Sat, 27 Jan 1996 00:00
Date: Sat, 27 Jan 1996 00:00
17 lines
1350 bytes
1350 bytes
In <4e8ous$gdr@ccshst05.cs.uoguelph.ca> showie@uoguelph.ca (Steve Howie) writes: >rc.news must be run as root No. If you use inndstart, and you have read the source and trusted it, then you can make inndstart setuid root, and run rc.news as news. System bootscripts vary too much; lots of little loose ends here and there. It's hard for one release to get all the corner-cases right. It is stupid to just take software off the net and run it as root without knowing what it does. (Hell, the INN tarfiles don't even have a PGP or similar checksum associated with them!) Unfortunately, very few people have time so they take the easy way out. INN tries to help out by really only requiring you to read one short program. /r$
Re: Can't get innd to start as news
Author: Matus Uhlar
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
19 lines
1306 bytes
1306 bytes
Greg Hartzog (ghartzog@crl.com) wrote: -> Hello folks. I am having a really dumb problem. I can not get inndstart -> to start if I run rc.news as news. I have tried 2555, 4555, and 6555 -> as permissions on inndstart but it does not make any difference. The -> exact error message that inndstart is giving me is -> inndstart cant bind Permission denied It must probably start with #!/bin/sh -p - try man sh. SVR4 shells resets their UID to not run setuid root -- Matus Uhlar at Regional node of SANET in Kosice, Slovakia E-mail: Matus.Uhlar@tuke.sk WWW: http://www.tuke.sk/users/uhlar IRC: fantomas PGP: finger uhlar@ccnews.ke.sanet.sk | pgp ...I'd like to add something cool here, but I don't know what ;-)
Re: Can't get innd to start as news
Author: Dave Barr
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
20 lines
1239 bytes
1239 bytes
In article <4ei7op$b39@ccnews.ke.sanet.sk>, Matus Uhlar <uhlar@ccnews.ke.sanet.sk> wrote: >Greg Hartzog (ghartzog@crl.com) wrote: >-> Hello folks. I am having a really dumb problem. I can not get inndstart >-> to start if I run rc.news as news. I have tried 2555, 4555, and 6555 >-> as permissions on inndstart but it does not make any difference. The >-> exact error message that inndstart is giving me is >-> inndstart cant bind Permission denied > >It must probably start with >#!/bin/sh -p Uh, no. We're not talking about the shell script here. We're talking about inndstart. --Dave
Re: Can't get innd to start as news
Author: Marc Roger
Date: Tue, 30 Jan 1996 00:00
Date: Tue, 30 Jan 1996 00:00
16 lines
1232 bytes
1232 bytes
On 25 Jan 1996 10:36:39 -0800, in news:<4e8ijn$id@crl.crl.com>, Greg Hartzog <ghartzog@crl.com> wrote in news.software.nntp: >Hello folks. I am having a really dumb problem. I can not get inndstart >to start if I run rc.news as news. I have tried 2555, 4555, and 6555 >as permissions on inndstart but it does not make any difference. The >exact error message that inndstart is giving me is > inndstart cant bind Permission denied I think 4555 for inndstart is ok, but are you sure this file is actually owned by root and not by news ? -- Marc Roger
Re: Can't get innd to start as news
Author: Greg Hartzog
Date: Sat, 03 Feb 1996 00:00
Date: Sat, 03 Feb 1996 00:00
29 lines
1819 bytes
1819 bytes
In article <slrn4grkqn.4bj.marc.slrn.rulezzz@lamed.belnet.be> Marc.Roger@belnet.be (Marc Roger) wrote: > On 25 Jan 1996 10:36:39 -0800, in news:<4e8ijn$id@crl.crl.com>, > Greg Hartzog <ghartzog@crl.com> wrote in news.software.nntp: >>Hello folks. I am having a really dumb problem. I can not get inndstart >>to start if I run rc.news as news. I have tried 2555, 4555, and 6555 >>as permissions on inndstart but it does not make any difference. The >>exact error message that inndstart is giving me is >> inndstart cant bind Permission denied > > I think 4555 for inndstart is ok, but are you sure this file is actually > owned by root and not by news ? > > -- > Marc Roger Thanks to all for the responses. Marc turns out to of hit it on the head. On Linux (at least 1.2.13 with default mount options) inndstart must be owned by user root in group root to be able to setuid at run time. I have made that change and it is working fine now. Again, thanks to everyone who reponsed. Greg Hartzog ghartzog@atc-usa.com ghartzog@mindspring.com Resonable clients are a wonderful thing. I wish I had some reasonable clients.
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