Results 1 to 7 of 7
Thread: FTP users and restrictions
-
11-10-2012, 03:40 PM #1Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 70
FTP users and restrictions
Hello,
I currently have 20+ users on my machine and they all have FTP access. But the problem is they can access my root folders and all folders located in the / (altho they can only read).
The thing I installed for FTP was vsftpd
Is there a way to restrict those users to their home directory only? ie. /home/user
I have seen on some servers where FTP users are only allowed to surf in their home directory and when you try to change the directory it gives permission error or something.
Any suggestions ?
Thanks.
-
11-10-2012, 03:43 PM #2Always Learning...
- Join Date
- Aug 2002
- Location
- Bharat
- Posts
- 4,808
Yes, you can restrict them to their own folder/path.
What OS and FTP server software have you deployed?
How those user were created?Vinsar.Net - Quality Web Hosting at Economical Price on USA & European Servers
Offering domains, shared, reseller & VPS hosting.
Reliable Domain Reseller Account Resell Domains with Confidence
-
11-10-2012, 03:47 PM #3Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 70
Centos 5 and vsftpd
I use a game control panel which creates those users with SSH access and FTP access. It has a option which is used for allow/deny ssh.
chroot_local_user=YES
userlist_deny=YES
userlist_file=/etc/ftpusers
Save the file and restart Vsftpd serviceLast edited by Shona2; 11-10-2012 at 03:57 PM.
-
11-10-2012, 05:22 PM #4Web Hosting Evangelist
- Join Date
- Nov 2001
- Posts
- 468
---=== RoseHosting.com Admin ===---
Linux Server Management and Outsourced Web Hosting Support - linuxhostsupport.com
Managed Linux VPS Hosting - rosehosting.com
High Quality Linux virtual servers with lots of Guaranteed RAM and SSD space, Impeccable Service.
-
11-11-2012, 02:05 AM #5Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 70
Thanks this worked. I earlier forgot to make the file in /etc instead i made it in /etc/vsftpd
-
11-26-2012, 05:23 PM #6Junior Guru Wannabe
- Join Date
- Oct 2012
- Posts
- 33
It didn't worked for me. Users still can reach all the folders in my VPS.
-
11-27-2012, 08:43 AM #7Disabled
- Join Date
- Aug 2012
- Posts
- 3,105
Similar Threads
-
Ftp-USERS on cPanel
By Blob in forum Web HostingReplies: 2Last Post: 08-06-2006, 01:35 PM -
cPanel/pureFTP: users' anon FTP going to /var/ftp instead
By Robotech_Master in forum Hosting Security and TechnologyReplies: 3Last Post: 11-17-2005, 04:28 PM -
Several Users Ftp With Permissions
By Doble in forum Dedicated ServerReplies: 1Last Post: 09-11-2004, 12:39 PM -
FTP permissions/restrictions for additional FTP accounts created through CPanel
By indianetwork in forum Hosting Security and TechnologyReplies: 1Last Post: 12-26-2003, 11:20 AM -
FTP Users
By jasonyates in forum Hosting Security and TechnologyReplies: 6Last Post: 09-23-2003, 03:18 AM