1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

CGI in chroot

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by argonius, Aug 9, 2011.

  1. argonius

    argonius Basic Pleskian

    18
    85%
    Joined:
    Apr 28, 2010
    Messages:
    57
    Likes Received:
    0
    Hi,

    is there any know solution oder guide to run CGI (PHP and Perl) in chroot environment?
    And where can I find the .c sources or source rpm of the new cgi-wrapper in 10.3.1?

    thanks for your help,

    patrick
     
  2. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    Are you trying to run a cron job in a domain using php or cgi?
     
  3. argonius

    argonius Basic Pleskian

    18
    85%
    Joined:
    Apr 28, 2010
    Messages:
    57
    Likes Received:
    0
    -

    no, i am trying to setup php over mod_fcgi with restrictions, so that for example you can not walk through the filesystem,
    or i n case of hacked content, to complicate a rooting of the server. so the goal is to run every php-process, in his own
    chroot...

    for any other ideas to gain more security, please tell me ;)

    and what about chroot? do have any knowhow on setting this up?

    thx for your help
     
  4. StefanieW

    StefanieW Guest

    0
     
    nobody any ideas for a php and perl chrooted environment ?
     
  5. argonius

    argonius Basic Pleskian

    18
    85%
    Joined:
    Apr 28, 2010
    Messages:
    57
    Likes Received:
    0
    still waiting ...

    hi,

    i am still waiting for any answer... :(

    maybe it is possible to post the c source of the cgi_wrapper in plesk 10.3 so
    that it will be possible to build my own chroot solution?

    thx patrick
     
Loading...