Article delegate-en/4081 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: nntp proxy as non root
20 Aug 2008 04:48:34 GMT (Yutaka Sato)
The DeleGate Project

In message <_A4080@delegate-en.ML_> on 08/19/08(22:24:53)
you Andreas Moroder <> wrote:
 |I would like to start delegate as nntp proxy as nobody.

First of all, you need nothing to do for it because it is the default
behaviour of DeleGate when it is invoked by the root user.
For example, you can test it as this:

 # delegated -P119 SERVER=nntp DGROOT=/tmp/dgroot ...

You will see the DeleGate process running owned by nobody and files
under /tmp/dgroot owned by nobody too.
No dgbind command is not necessary in this case.

 |I followed the instructions on
 |but maybe I made something wrong
 |in /usr/local i have a directory delegated
 |the binary is in this directory /usr/local/delegated
 |drwxr-xr-x  5 nobody nobody      120 2000-00-00 00:0X adm
 |drwxr-xr-x  2 root   root         48 2000-00-00 00:0X bin
 |-rwxr-xr-x  1 nobody nogroup 3026096 2008-08-19 13:36 delegated
 |drwxr-xr-x  2 root   root         80 2000-00-00 00:0X etc
 |drwxr-xr-x  2 root   root        688 2000-00-00 00:0X lib
 |drwxr-xr-x  3 root   root        176 2000-00-00 00:0X log
 |drwxr-xr-x  2 root   root        168 2000-00-00 00:0X subin
 |drwxr-xr-x  3 root   root         72 2000-00-00 00:0X tmp
 |drwxr-xr-x  3 root   root         72 2000-00-00 00:0X usr

These directory seems created without "-u nobody" thus will not allow
access for nobody.

 |dbgind is in /usr/local/delegated/subin
 |-r-xr-x---  1 root nogroup 232600 2008-08-19 15:01 dgbind

The explanation in
says you need to do
  # chmod 6550 dgbind
and if it is done, you should see flags set as this: 
  -r-sr-s---  1 root nogroup 232600 2008-08-19 15:01 dgbind

 |I have set
 |export DGROOT=/usr/local/delegated
 |and then I start delegated this way
 |startproc -u nobody $DGROOT/delegated -P119 SERVER=nntp MOUNT="rol. \ 
 |nntp://" MOUNT="gmane. nntp://" \ 
 |MOUNT="deleg. nntp://"
 |I get a error that it cannot open port 119
 |What's wrong with miy config ?

Starting DeleGate by startproc is not supported.

  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]