disabling anonymous ftp logins can be easy to do if you have linux

i have a linux server with red hat fedora core and with proftpd server so disable anonimous login can be done with this command

nano /etc/proftpd.conf


now look for the and comment out
mine looks like this:
# A basic anonymous configuration, with an upload directory.
#
# User ftp
# Group ftp
# AccessGrantMsg "Anonymous login ok, restrictions apply."
#
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
#
# # Limit the maximum number of anonymous logins
# MaxClients 10 "Sorry, max %m users -- try again later"
#
# # Put the user into /pub right after login
# #DefaultChdir /pub
#
# # We want 'welcome.msg' displayed at login, '.message' displayed in
# # each newly chdired directory and tell users to read README* files.
# DisplayLogin /welcome.msg
# DisplayFirstChdir .message
# DisplayReadme README*
#
# # Some more cosmetic and not vital stuff
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# # Limit WRITE everywhere in the anonymous chroot
#
# DenyAll
#

#
# # An upload directory that allows storing files but not retrieving
# # or creating directories.
#
# AllowOverwrite no
#
# DenyAll
#

#
#
# AllowAll
#

#

#
# # Don't write anonymous accesses to the system wtmp file (good idea!)
# WtmpLog off
#
# # Logging for the anonymous transfers
# ExtendedLog /var/log/proftpd/access.log WRITE,READ default
# ExtendedLog /var/log/proftpd/auth.log AUTH auth
#
#



what about if you have vsftpd?

well you can edit this file with this command:

nano /etc/vsftpdvsftpd.conf


then configure it like this:
# allow anonymous users to create directories?
anon_mkdir_write_enable=NO

# allow anonymous users to modify / delete files?
anon_other_write_enable=NO

# allow anonymous uploads?
anon_upload_enable=NO

# allow anonymous downloads of only world-readable content?
anon_world_readable_only=NO

# allow anonymous logins?
anonymous_enable=NO