Showing results for 
Search instead for 
Did you mean: 

Re: Restricting FTP Access

Go to solution

Restricting FTP Access


I need to setup an FTP Access file so that only the root and admin users can login to the system and deny access to all regular users.

How can I configure the FTP access file to do that?

Thank You,
Suren Selva
Live and let live!
Honored Contributor

Re: Restricting FTP Access

Check this man page:

# man ftpusers

Create ftpusers under /etc/ftpd directory.
Life is a promise, fulfill it!
Honored Contributor

Re: Restricting FTP Access

You can create a file /etc/ftpd/ftpusers, any account contained in this file will not be allowed to use ftp.

See man ftpusers for details, and be careful of the permissions on the file.

Hindsight is 20/20
Frequent Advisor

Re: Restricting FTP Access

create /etc/ftpusers file and put in each line the logins you do NOT want to be able to ftp.

compute, therefore you are
Honored Contributor

Re: Restricting FTP Access

Create the /etc/tfpd/ftpusers file and place all users you DONT want to use ftp in there.

Remember to add any new accounts that are not required to use ftp. A bit of an administration headache!

Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.