🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Billy Mon, 10 Apr 2000 00:00
shadow group for nnrpd
#45673
Author: Billy
Date: Mon, 10 Apr 2000 00:00
16 lines
1074 bytes
Hello

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?

Thanx in advance


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: shadow group for nnrpd
#45662
Author: Russ Allbery
Date: Mon, 10 Apr 2000 00:00
29 lines
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/>

Re: shadow group for nnrpd
#45689
Author: Sven Paulus
Date: Tue, 11 Apr 2000 00:00
15 lines
1250 bytes
Russ Allbery <rra@stanford.edu> wrote:
|> 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).

Attention: nnrpd only drops priviledges if started with -D. If you run
nnrpd from inetd.conf with root priviledges it will keep them through
the whole session. I guess nobody really want's to do this.

Sven

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