Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd August 2007, 17:30
rafael-ec rafael-ec is offline
Member
 
Join Date: Jul 2007
Posts: 57
Thanks: 15
Thanked 7 Times in 5 Posts
Default A question about chroot

I read in this forums that we can have a chroot environment, by setting one variable to true.
1)Is there any risk on doing this for all my previous sites? I only have ispconfig on my production server and right now I can't test before doing this kind of things.
2)Would my previous sites have a chroot enviroment or only de new sites?
3)The chroot enviroment would be only for the ssh sessions?
4)Is there a way I can have a separete php.ini for each site? I remeber this could be done with ensim, but could be done with ispconfig?

Thanks,

Rafael
Reply With Quote
Sponsored Links
  #2  
Old 2nd August 2007, 18:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

First, to use chrooting, you will have to build a new patched SSH daemon that supports chrooting:

http://www.howtoforge.com/chrooted_ssh_howto_debian

1) That is not easy to predict, normally there should be no risk as the chroot script just adds a few directories and files to the users directory.
2) New and updated sites.
3) Yes.
4) First you will have to install suphp:

http://www.howtoforge.com/suphp_debian_etch_ispconfig

and then enable SuPHP in ISPConfig. Afterwards you will be able to specify a custom php.ini in the apache directives field with a suphp directive.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rafael-ec (2nd August 2007)
  #3  
Old 2nd August 2007, 21:09
rafael-ec rafael-ec is offline
Member
 
Join Date: Jul 2007
Posts: 57
Thanks: 15
Thanked 7 Times in 5 Posts
Default

Quote:
Originally Posted by till
First, to use chrooting, you will have to build a new patched SSH daemon that supports chrooting:

http://www.howtoforge.com/chrooted_ssh_howto_debian
Is there a how to for CentOS4?

Quote:
Originally Posted by till
http://www.howtoforge.com/suphp_debian_etch_ispconfig

and then enable SuPHP in ISPConfig. Afterwards you will be able to specify a custom php.ini in the apache directives field with a suphp directive.
Is there a how to for CentOS4?
Reply With Quote
  #4  
Old 3rd August 2007, 09:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

I'am not aware of any howtos for these topics for centos at the moment.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind chroot configuration Toffee Installation/Configuration 6 13th March 2009 15:51
Postfix chroot ? knivla Server Operation 9 21st July 2007 06:35
chroot access problem adrenalinic Server Operation 4 30th June 2007 16:10
Odd question for Falko Randy Installation/Configuration 1 16th October 2006 14:58
ssh chroot works, but no scp for chroot users zokahn HOWTO-Related Questions 5 30th January 2006 09:33


All times are GMT +2. The time now is 07:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.