Old 6th February 2008, 23:12
nolanpro nolanpro is offline
Junior Member
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chroot question

Hi! I installed ispconfig via centos5 tutorial from scratch. Everything works perfectly but it doesn't look like users are jailed. When I create a user under a site in ispconfg, then log into the shell, they are able to view other accounts (they can read db passwords in other account's php files).

php's realpath() shows /var/www/web12/web. Ideally this should show /htdocs/www or something similar that would be the same across all accounts.

Thanks for your help!
Reply With Quote
Sponsored Links
Old 7th February 2008, 12:52
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts

Users are not jailed if you did not enable it for every login type that shall be jailed as programs like ssh do not support this without patches.

Which program do you use to login? FTP or SSH? For PHP you will have to enable safemode too.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 7th February 2008, 19:19
nolanpro nolanpro is offline
Junior Member
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks, I'm more interested in making the file path the same for all users (of course, pointing to different files). For example, all users web files would appear to be in /htdocs/www to them but the actual path would be something like var/www/the_user_name/htdocs/www. I'm looking into two options now. suPHP and mod_chroot, or both. Anyway, hopefully one works.
Reply With Quote


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 16:51
A question about chroot rafael-ec General 3 3rd August 2007 10:19
Postfix chroot ? knivla Server Operation 9 21st July 2007 07:35
sendmail config question westb Server Operation 1 1st September 2006 18:00
ssh chroot works, but no scp for chroot users zokahn HOWTO-Related Questions 5 30th January 2006 10:33

All times are GMT +2. The time now is 20:44.

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