Re: How to limit ftp users to just view their directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 3/25/2011 12:13 PM, Hakan Koseoglu wrote:
> On 25 March 2011 19:09, Todd Cary<todd@xxxxxxxxxxxxxxxxxx>  wrote:
>> I am in the process of bring up Centos 5.5.  My ftp server is
>> vsftp.  When I add a user (e.g. brian), the "brian" directory is
>> owned by "brian" and is in the "brian" group with 700
>> permissions.  However, using a FTP client, the user "brian" can
>> view all of the directories.  I do not see any directive in
>> vsftpd.conf to limit this.  What have I missed?
> You missed the chroot options.
> chroot_local_user should be set to yes. If you want only certain users
> to be chrooted, then use chroot_list_enable and add the users to the
> list file. What this file does changes depending on the value of the
> chroot_local_user so please read the manual for the exact explanation.
Hakan -

Thank you!  There it was within the commented section of 
vsftp.conf.  All working now.

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.aristesoftware.com

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux