uid for the perlball
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > uid for the perlball




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    uid for the perlball  
Hemant Bist


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-07 06:12 AM

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






[ Post a follow-up to this message ]



    Re: uid for the perlball  
Todd Lipcon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-07 06:12 AM

Hi Hemant,

The best solution I know of at this time is to simply run perlbal on a
high port. We use a firewall rule in iptables to redirect port 80 to that
high port. In shorewall config format, it is:

#       Allow incoming HTTP  to perlbal running on 7080
REDIRECT        net             7080            tcp     80

This way you can run perlbal as its own user.

Note: if you're not running as root, make sure you don't have ulimits set
for the perlbal user, especially "nofiles"

-Todd

On Sat, 25 Aug 2007, Hemant Bist 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
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register