#1  
Old 6th February 2008, 22: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
  #2  
Old 7th February 2008, 11:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

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
  #3  
Old 7th February 2008, 18:19
nolanpro nolanpro is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
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
A question about chroot rafael-ec General 3 3rd August 2007 09:19
Postfix chroot ? knivla Server Operation 9 21st July 2007 06:35
sendmail config question westb Server Operation 1 1st September 2006 17:00
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 18:19.


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