#1  
Old 3rd August 2009, 00:44
foxfirediego foxfirediego is offline
Junior Member
 
Join Date: Sep 2008
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default Restrict FTP users

How do I restrict users to access one specifc directory like
/var/www/web3/web/download/FTP_USER_NAME
instead of /var/www/web3/user/FTP_USER_NAME
thanks

Last edited by foxfirediego; 3rd August 2009 at 00:53.
Reply With Quote
Sponsored Links
  #2  
Old 3rd August 2009, 00:56
bad_crow bad_crow is offline
Member
 
Join Date: Jul 2009
Location: France
Posts: 31
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi,

With proftpd, there is an option to lock the user in his home directory (seek at DefaultRoot).
The user won't be able to go elsewhere. you can choose the user home directory when you create it with useradd, so the user will be locked into the directory you want him to be locked into but this option apply to all users.

Be aware that in creating the users with useradd, they'll have a valid shell by default, so they will be able to connect the computer. if you don't want that, use -s option and set the shell to /bin/false.


Was that what you wanted to know ?
Reply With Quote
  #3  
Old 3rd August 2009, 02:51
foxfirediego foxfirediego is offline
Junior Member
 
Join Date: Sep 2008
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

That's actually one solution, but I meant to create users and set their own directory like that:
/var/www/web3/web/download/user1
/var/www/web3/web/download/user2
/var/www/web3/web/download/user3

But, I don't want user2 touch user3 files.
Just like in cpanel, when you create one new user, you set his own private path.

Last edited by foxfirediego; 3rd August 2009 at 04:25.
Reply With Quote
  #4  
Old 3rd August 2009, 05:15
foxfirediego foxfirediego is offline
Junior Member
 
Join Date: Sep 2008
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I want something like this:
http://www.proftpd.org/localsite/Use...ed/chroot.html

but for individual users, one with it's own directory.

note: download/user_name will be outside web/ so it will be public to internet access
thanks
Reply With Quote
  #5  
Old 3rd August 2009, 10:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,717
Thanks: 840
Thanked 5,593 Times in 4,404 Posts
 
Default

You can not do this in ispconfig 2 as the users are also used for email. You can e.g. create the linux users manually.
__________________
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
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 19:37
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 20:38
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 17:11
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03


All times are GMT +2. The time now is 05:41.


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