Thread View: news.software.nntp
3 messages
3 total messages
Started by Sach
Fri, 24 Oct 1997 00:00
Re: INN-1.7 RC.NEWS Script
Author: Sach
Date: Fri, 24 Oct 1997 00:00
Date: Fri, 24 Oct 1997 00:00
53 lines
2243 bytes
2243 bytes
--------------9EEC41E4A7D9416120038291
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Try typing ./.rc.news in /ol/news/etc directory after installing the
executables.
>Nihal L Mehta wrote:
> Finally got through the entire compilation of INN.. now, how do you
> execute the rc.news script that is supposed to run the damn thing?
> I tried typing 'rc.news' at /inn-1.7/site/ and nothing ran.
>
> Thanks,
> (if you haven't noticed already, i'm a little new to this stuff)
> Nihal
--
Sach
ssk@wnmail.wndev.att.com
--------------9EEC41E4A7D9416120038291
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Try typing ./.rc.news in /ol/news/etc directory after installing the executables.
<P>>Nihal L Mehta wrote:
<BLOCKQUOTE TYPE=CITE>Finally got through the entire compilation of INN..
now, how do you
<BR>execute the rc.news script that is supposed to run the damn thing?
<BR>I tried typing 'rc.news' at /inn-1.7/site/ and nothing ran.
<P>Thanks,
<BR>(if you haven't noticed already, i'm a little new to this stuff)
<BR>Nihal</BLOCKQUOTE>
<PRE>--
Sach
ssk@wnmail.wndev.att.com</PRE>
</HTML>
--------------9EEC41E4A7D9416120038291--
Re: INN-1.7 RC.NEWS Script
Author: Jaeyoung Kim
Date: Mon, 27 Oct 1997 00:00
Date: Mon, 27 Oct 1997 00:00
56 lines
2616 bytes
2616 bytes
> >Nihal L Mehta wrote:
> > Finally got through the entire compilation of INN.. now, how do you
> > execute the rc.news script that is supposed to run the damn thing?
> > I tried typing 'rc.news' at /inn-1.7/site/ and nothing ran.
> >
> > Thanks,
> > (if you haven't noticed already, i'm a little new to this stuff)
> > Nihal
I have a question releated to the above.
I just installed new inn-1.7 server on my Linux 2.0.30 machine.
After perfect compling, I executed "rc.news" file and saw the following
errors in my syslog file;
Oct 27 14:33:30 jp inndstart: inndstart cant bind Permission denied
This was a little bit weird because I did nothing wrong. When
I checked news.notice logfile, I found the following;
Oct 27 14:20:16 jp inndstart: inndstart cant setgroups Operation not permitted
Oct 27 14:20:16 jp inndstart: inndstart cant bind Permission denied
It occurred when inndstart program tried to change group id of
process by "setgroups" function call. I think it's due to the permission
problem and fixed the problem by changing ownership of "inndstart" file.
Before,
-r-sr-x--- 1 news news 7818 Oct 25 13:25 innd.start
I changed it to be;
-r-sr-x--- 1 root root 7818 Oct 25 13:25 innd.start
Of course, I executed the rc.news script with root user id. Is this
normal? I think something's wrong because there is any notes about this kind
of problem in Install guide of INN. Any comments welcomed. Thanks in advance.
Sincerely,
Jay.
--
___________________________________________________________________________
_____ ___ __ __
__/\__ |_ _| / _ \ \ \_/ / Remember Yesterday, Dream about Tomorrow
\ / | | | /_\ | \ / but ... LIVE TODAY !!!
/_ _\ | | | _ | | |
\/ __| | | | | | | | jay@postech.ac.kr (Jae-young Kim)
|___/ |_| |_| |_| Researcher, Computer Center/POSTECH, KOREA
___________________________________________________________________________
Re: INN-1.7 RC.NEWS Script
Author: Jungshik Shin
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
42 lines
2223 bytes
2223 bytes
In <631ppl$h13@news.postech.ac.kr>, Jaeyoung Kim wrote: : This was a little bit weird because I did nothing wrong. When Well, you did something wrong :-). The last step of installation should have been done as root(which you apparently didn't) so that inndstart can be set suid to root. : Oct 27 14:20:16 jp inndstart: inndstart cant bind Permission denied : It occurred when inndstart program tried to change group id of : process by "setgroups" function call. I think it's due to the permission : problem and fixed the problem by changing ownership of "inndstart" file. As you correctly guessed and comment in rc.news script kindly mentions, inndstart should be suid to root (owned by root:news). : Before, : -r-sr-x--- 1 news news 7818 Oct 25 13:25 innd.start : I changed it to be; : -r-sr-x--- 1 root root 7818 Oct 25 13:25 innd.start : : Of course, I executed the rc.news script with root user id. Is this : normal? I think something's wrong because there is any notes about this kind rc.news need/has better/should NOT be started by root. With inndstart suid to root, rc.news can/should be started by the user 'news'. (hence, in boot up script for your news server, rc.news has to be invoked by 'su -c news rc.news' or something similar depending on what kind of 'su' you have) It's sorta RTFM issue(see comments in rc.news script) This has been the case at least since inn 1.4unoff3 if not earlier. Jungshik Shin
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