LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to deny user to use ftp to access system (http://www.linuxquestions.org/questions/linux-software-2/how-to-deny-user-to-use-ftp-to-access-system-325925/)

ust 05-22-2005 10:59 AM

how to deny user to use ftp to access system
 
I use vsftp server , I want to deny user to use ftp to access the system , could suggest what can I do ? thx

rarsa 05-22-2005 12:13 PM

There are several alternatives. In a nutshell:

- If you don't want any user to use FTP: Stop the FTP service.
- If you only want certain users to log-in: Disable anonymous connection and specify the list of users that you want to allow to connect.
- If you want to restrict what users can see: Grant specific rights to the ftp folders

ust 05-23-2005 06:55 AM

thx reply ,

I think the below alternative is suit for me , could suggest how to do it ? thx



- If you only want certain users to log-in: Disable anonymous connection and specify the list of users that you want to allow to connect.

bathory 05-23-2005 07:18 AM

Add the usernames of the users you don't want to use ftp in /etc/ftpusers

ust 05-23-2005 09:39 PM

thx reply , instead of add all users to the /etc/ftpusers ( because we have many users) , can I deny the user by group ? thx


All times are GMT -5. The time now is 12:42 PM.