Article View: news.software.nntp
Article #40013Re: INN 2.3, inndstart problem
From: Erik Mouritzen
Date: Tue, 21 Sep 1999 00:00
Date: Tue, 21 Sep 1999 00:00
35 lines
2206 bytes
2206 bytes
Russ Allbery <rra@stanford.edu> wrote: > Erik Mouritzen <unilerik@green.rnd.uni-c.dk> writes: >> Isn't there a way for me to bypass the check (inndstart), so I at least >> can get innd started ? >> I really would like to test INN 2.3 with CNFS and the new overview stuff. > Comment out line 171 of innd/inndstart.c and recompile and see if that > works better. That's the line: > set_user(0, 0, news_uid, news_gid); > which drops permissions before reading inn.conf and doing some other > stuff. It's not technically necessary, it's just good security practice. > Also comment out line 268: > set_user(news_uid, news_gid, 0, 0); > That should remove any calls to setreuid(), but it should still drop > permissions correctly. Yes, INND is starting. Everything seems to be just fine now, THANKS!!! /Erik +-------------------+---------------------------------+ | UNI-C | E-Mail: Erik.Mouritzen@uni-c.dk | | DTU, Building 304 | Phone: +45 3587 8889 | | DK2800 Lyngby | Fax: +45 3587 8990 | +-------------------+---------------------------------+ | Danish Computing Centre for Research and Education | +-----------------------------------------------------+
Technical Details
Message-ID:
<7s8k6b$i8k$1@news.net.uni-c.dk>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:
<7rqorn$ndu$1@news.net.uni-c.dk> <yld7vhhlah.fsf@windlord.stanford.edu> <7rt739$1924$1@news.net.uni-c.dk> <yl4sgthjdo.fsf@windlord.stanford.edu> <7s84n6$u3u$1@news.net.uni-c.dk> <yllna0mieg.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7s8k6b$i8k$1@news.net.uni-c.dk>
Subject: Re: INN 2.3, inndstart problem
Date: Tue, 21 Sep 1999 00:00:00 +0000
From: Erik Mouritzen <unilerik@green.rnd.uni-c.dk>
References: <7rqorn$ndu$1@news.net.uni-c.dk> <yld7vhhlah.fsf@windlord.stanford.edu> <7rt739$1924$1@news.net.uni-c.dk> <yl4sgthjdo.fsf@windlord.stanford.edu> <7s84n6$u3u$1@news.net.uni-c.dk> <yllna0mieg.fsf@windlord.stanford.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-mail
X-Deja-AN: 527925970
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 937939979 18708 130.226.0.108 (21 Sep 1999 18:52:59 GMT)
Organization: UNI-C
User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (Linux/2.2.5-15 (i686))
NNTP-Posting-Date: 21 Sep 1999 18:52:59 GMT
Newsgroups: news.software.nntp