- Forums
- FTP
- How To Disable Anonymous Access In FTP Server Proftpd
do you have a proftp server and you want to disable anonymous login to your ftp server, if so you will find this post helpful we will show you how you cannot allow anonymous access to your ftp server [2732], Last Updated: Mon Jun 24, 2024
Webune Support
Fri Mar 05, 2010
0 Comments
4551 Visits
do you have a proftp server and you want to disable anonymous login to your ftp server, if so you will find this post helpful we will show you how you cannot allow anonymous access to your ftp server
the solution is simple.
Webune Offers Linux Dedicated Server, so if you have a linux server with proftpd deamon, then you can disable by using these commands
this commands opens the proftpd configuration file using nano text editor:
# nano /etc/proftpd.conf once you have the /etc/proftpd.conf file opened, you need to make it look 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
#
#