Article View: news.software.nntp
Article #40012Re: INN 2.3, inndstart problem
From: Russ Allbery
Date: Tue, 21 Sep 1999 00:00
Date: Tue, 21 Sep 1999 00:00
25 lines
1461 bytes
1461 bytes
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.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<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-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>Show Full Headers
Complete Article Headers
Message-ID: <yllna0mieg.fsf@windlord.stanford.edu> Subject: Re: INN 2.3, inndstart problem Date: Tue, 21 Sep 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> 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> 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: 527840722 Organization: The Eyrie Newsgroups: news.software.nntp