Article View: news.software.nntp
Article #22778Re: INN-1.7 RC.NEWS Script
From: 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
Technical Details
Message-ID:
<639b96$bl9@photon.hgs.yale.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<62ge9m$b3r$1@netnews.upenn.edu> <3450A07E.BB2A41AD@wnmail.wndev.att.com> <631ppl$h13@news.postech.ac.kr>Show Full Headers
Complete Article Headers
Message-ID: <639b96$bl9@photon.hgs.yale.edu> Subject: Re: INN-1.7 RC.NEWS Script Date: Thu, 30 Oct 1997 00:00:00 +0000 From: Jungshik Shin <jshin@pantheon.yale.edu> References: <62ge9m$b3r$1@netnews.upenn.edu> <3450A07E.BB2A41AD@wnmail.wndev.att.com> <631ppl$h13@news.postech.ac.kr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 285914721 Sender: jungshik@photon.hgs.yale.edu Reply-To: jshin@pantheon.yale.edu Organization: Yale University, Physics Dept. Newsgroups: news.software.nntp