Article View: news.software.nntp
Article #45662Re: shadow group for nnrpd
From: Russ Allbery
Date: Mon, 10 Apr 2000 00:00
Date: Mon, 10 Apr 2000 00:00
29 lines
1822 bytes
1822 bytes
Billy <billy_p@my-deja.com> writes:
> Browsing the man pages i see that nnrpd can be launched with an opitoin
> to tell it what group to use in order to be able to read the shadow
> file. However, innd (2.2) is the one that starts up nnrpd, but i have
> not found a way to include parameters for nnrpd in inn.conf.
> Any hints?
You have to run nnrpd in standalone mode:
-g The ``-g'' parameter instructs nnrpd to try to add the named group
as a supplementary group on shadow systems. This only works when
nnrpd is running in standalone mode since this call only works when
nnrpd is started as root.
That's the -D flag (or alternately you can run nnrpd from inetd.conf). If
you do this, you need to run innd itself on a different port, as specified
in inn.conf, and you want to disallow readers in inn.conf so that innd
will not attempt to spawn nnrpd itself. It takes a little work to get
things set up this way, but in many ways it's a nicer way to run the
server.
Support for shadow passwords will be easier in 2.3.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylitxpiss8.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:
<8csvki$7ss$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <ylitxpiss8.fsf@windlord.stanford.edu> Subject: Re: shadow group for nnrpd Date: Mon, 10 Apr 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <8csvki$7ss$1@nnrp1.deja.com> 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: 609269892 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp