Perlbal - Fwd: uid for the perlball (Solution from David)

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > August 2007 > Fwd: uid for the perlball (Solution from David)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Fwd: uid for the perlball (Solution from David)
Hemant Bist

2007-08-29, 7:12 am

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

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

cheers,
HB

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



----- Forwarded Message ----
From: David Davis < david.davis@gmail.com>
To: Hemant Bist < hemant_bist@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/trun...td-perl/perlbal


xantus@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@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/pe...ary/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/trun...td-perl/perlbal


xantus@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@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/pe...ary/000399.html
>
> Thanx,
> HB
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com