When I type in ftp.my_domain, I am taken to /var/ftp/pub. I would like to have it so that url does not work at all.
I am use vsftp, AND I know just enough Linux to get into trouble .
With appreciation...
Todd
How to prevent any public ftp
Re: How to prevent any public ftp
You can disable it by firewall for outside server clients, by DNS to disable sub domain entry, and by services to disable ftp services.
Simply disable services :
# service vsftpd stop
check service level on
# chkconfig --list vsftp
and disable it by
chkconfig --level 3 vsftp off <- depend of: chkconfig --list vsftp
Simply disable services :
# service vsftpd stop
check service level on
# chkconfig --list vsftp
and disable it by
chkconfig --level 3 vsftp off <- depend of: chkconfig --list vsftp