6/28/07

vsftpd restrict access

If you run vsftp as your ftp server, may be you want to config
in /etc/vsftpd/vsftpd.conf

To disable anonymous ftp logins, change anonymous_enable to NO [Default: YES]

anonymous_enable=NO

To jail some user in their home dir uncomment two following line [Default: NO]
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
and put a list of user [to be jailed] in /etc/vsftpd/chroot_list.
Note that if chroot_local_user set to YES, meaning of list will be a list that not to be jailed.

To jail all user in their home dir, add chroot_local_user=YES [Default: NO]
chroot_local_user=YES

1 comments:

Anonymous said...

Nicely Explained !!