Fwd: uid for the perlball (Solution from David)

Hemant Bist hemantbist at gmail.com
Wed Aug 29 06:27:15 UTC 2007


---------- Forwarded message ----------
From: Hemant Bist <hemant_bist at yahoo.com>
Date: Aug 27, 2007 2:33 PM
Subject: Re: uid for the perlball (Solution from David)
To: perlbal at lists.danga.com

Hi,,
Forwarding the email for David to the group.

cheers,
HB

---------- Forwarded message ----------
From: Hemant Bist < hemant_bist at yahoo.com>
Date: Aug 27, 2007 2:32 PM
Subject: Fw: uid for the perlball
To: Hemant Bist <hemantbist at gmail.com>



----- Forwarded Message ----
From: David Davis < david.davis at gmail.com>
To: Hemant Bist < hemant_bist at yahoo.com>
Sent: Saturday, August 25, 2007 9:25:47 PM
Subject: Re: uid for the perlball

Hi Hemant,

Sorry, You may have received multiple messages from me.
It looks like I can't post to the perlbal list from gmail, and I was using
reply to all.

Could you forward this to the list, Thanks!
David

-------

I just whipped up this new version of the perlbal startup script that will
drop privileges:

http://svn.xantus.org/shortbus/trunk/cometd-perl/perlbal


xantus at cometd:~/$ ./perlbal --help
Usage: perlbal [OPTS]
  --help                                This usage info
   --version                             Print perlbal release version
  --config=[file]                       Specify Perlbal config file
                                        (default: /etc/perlbal/perlbal.conf)
  --daemon                              Daemonize
  --drop-privs=<uid|user>[,gid|group]   Drop effective privileges.
                                        (gid is optional)

Cheers!

-- 
David Davis
☄ Software Engineer


On 8/25/07, Hemant Bist < hemant_bist at yahoo.com > wrote:
>
> Hi,
> Is there a way to change the effective uid/gid of the perlbal from root to
> non privileged user(if perlbal is listening on a privileged port?).
>
>  I saw a thread on this topic in the archives, but  it doesn't indicate if
> someone has already added this functionality.
>
> http://lists.danga.com/pipermail/perlbal/2007-February/000399.html
>
> Thanx,
> HB
>



Hi Hemant,

Sorry, You may have received multiple messages from me.
It looks like I can't post to the perlbal list from gmail, and I was using
reply to all.

Could you forward this to the list, Thanks!
David

-------

I just whipped up this new version of the perlbal startup script that will
drop privileges:

http://svn.xantus.org/shortbus/trunk/cometd-perl/perlbal


xantus at cometd:~/$ ./perlbal --help
Usage: perlbal [OPTS]
  --help                                This usage info
   --version                             Print perlbal release version
  --config=[file]                       Specify Perlbal config file
                                        (default: /etc/perlbal/perlbal.conf)
  --daemon                              Daemonize
  --drop-privs=<uid|user>[,gid|group]   Drop effective privileges.
                                        (gid is optional)

Cheers!

-- 
David Davis
☄ Software Engineer


On 8/25/07, Hemant Bist < hemant_bist at yahoo.com > wrote:
>
> Hi,
> Is there a way to change the effective uid/gid of the perlbal from root to
> non privileged user(if perlbal is listening on a privileged port?).
>
>  I saw a thread on this topic in the archives, but  it doesn't indicate if
> someone has already added this functionality.
>
> http://lists.danga.com/pipermail/perlbal/2007-February/000399.html
>
> Thanx,
> HB
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/perlbal/attachments/20070828/51ed378c/attachment-0001.htm


More information about the perlbal mailing list