Restricting FTP access in vsftpd.conf
Hi ,
I was trying to restrict access to FTP in vsftpd only for 2 users. I did this way.
In /etc/vsftpd/vsftpd.conf , I gave the entries
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
Then I added the two users in /etc/vsftpd.user_list who can login to the FTP site.
Saved the file and restarted vsftpd. But when I tried to access the FTP site from a Win 200 pro machine ( It is not even promting for a login) , I got the message:
Windows cannot access this site. make sure you have apropriate Permissions.
Error 530 Permission Denied
Since I have more than 500 users, The other option of making userlist_deny=YES and adding the users to whom I want to block into /etc/vsftpd.user_list is not an easy job.
Please give me a solution to do it the former way.
Regards,
Jomy
|