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 12th September 2008, 16:26
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default Chrooted SSH/SFTP On Fedora 7

Hi folks,

I would like to create a jail for a user and I have followed the tutorial "Chrooted SSH/SFTP On Fedora 7". The problem is the path.
Where have I set the jail destination path?

testuser:x:10108:100:testuser:/home/chroot/./home/testuser/:/bin/bash

If I would like to set this (/var/www/web13/web/_services/wordpress) other directory as root?

Regards

Last edited by vaio1; 12th September 2008 at 16:32.
Reply With Quote
Sponsored Links
  #2  
Old 12th September 2008, 16:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 Posts
Default

Are you talking about ISPConfig or jails in general? If you are talking about ispconfig, just enable chrroting in /home/admispconfig/ispconfig/lib/config.inc.php. Every new or updated user will be chrooted.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th September 2008, 16:44
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

I have followed this tutorial: http://www.howtoforge.com/chroot_ssh_sftp_fedora7
Reply With Quote
  #4  
Old 12th September 2008, 16:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 Posts
Default

Yes, but this does not answer the question if you want to chroot ispconfig users or if thats a system without ispconfig and you want to chroot a user that you created manually.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th September 2008, 16:53
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

I would like to set a particular folder to a group or user by ISPConfig or Manually. However I have executed all the commands in that tutorial.
Reply With Quote
  #6  
Old 12th September 2008, 17:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 Posts
 
Default

You can not set particular folders for ispconfog users. Please enable chrooting in ispconfiog as I described above.
__________________
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
Chrooted SSH/SFTP shopgeek Server Operation 1 8th July 2008 13:12
Chrooted SSH/SFTP Screen problems nicho12 HOWTO-Related Questions 5 31st May 2008 11:37
Chrooted SSH/SFTP need help docean Installation/Configuration 5 18th March 2008 16:26
Chrooted SSH/SFTP On Fedora 7 city HOWTO-Related Questions 4 16th November 2007 17:34
Chrooted SSH HowTo for Fedora Core 4? ctroyp HOWTO-Related Questions 3 26th May 2006 02:00


All times are GMT +2. The time now is 08:00.


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