Thread View: news.software.nntp
3 messages
3 total messages
Started by cengiz
Mon, 14 Jun 1999 00:00
Re: innd not starting
Author: cengiz
Date: Mon, 14 Jun 1999 00:00
Date: Mon, 14 Jun 1999 00:00
23 lines
1649 bytes
1649 bytes
In a previous article, < hehanson@my-deja.com> writes:
>When starting manually here is what happens:
>
># su news -c /etc/rc.d/rc.news
Well, I don't know what system you're running, or how the rc.news script
is setup (does it make a call to a setuid root program to start INN or not),
but root privelege is required to bind to the NNTP port (119).
So the INND process itself must be root. Maybe the rc.news script uses
inndstart (which is setuid root on my installation) or maybe it calls
innd itself. I don't know.
But INND definitely would have to START as root to bind to the port.
-Cengiz
----- Posted via NewsOne.Net: Free Usenet News via the Web -----
----- http://newsone.net/ -- Discussions on every subject. -----
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net
Re: innd not starting
Author: Andreas Barth
Date: Mon, 14 Jun 1999 00:00
Date: Mon, 14 Jun 1999 00:00
16 lines
1108 bytes
1108 bytes
On 14 Jun 1999 18:15:37 GMT, cengiz@netmar.com <cengiz@netmar.com> wrote: > But INND definitely would have to START as root to bind to the port. No. It's enough if innstart is suid root. innstart can bind to the port, change uid and start inn. The following works here: [aba@aphrodite tmp]$ ls /usr/sbin/inn* -l -r-xr-x--- 1 news news 597812 Sep 10 1998 /usr/sbin/innd -rwsr-x--- 1 root news 6076 Sep 10 1998 /usr/sbin/inndstart Andi
Re: innd not starting
Author: Russ Allbery
Date: Mon, 14 Jun 1999 00:00
Date: Mon, 14 Jun 1999 00:00
18 lines
1091 bytes
1091 bytes
cengiz <cengiz@netmar.com> writes: > So the INND process itself must be root. Maybe the rc.news script uses > inndstart (which is setuid root on my installation) or maybe it calls > innd itself. I don't know. rc.news has always called inndstart, which is setuid specifically because of this. > But INND definitely would have to START as root to bind to the port. I believe inndstart actually binds the port and then passes it to innd, but I haven't checked recently. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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