how to disable anonymous ftp logins

Mobile
feeds
Welcome Login | Register

how to disable anonymous ftp logins
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » Linux Hosting Forums
        » » how to disable anonymous ftp logins
how to disable anonymous ftp logins
Post Description: how to disable anonymous ftp logins Linux Hosting
Post Tags:
This Post Has Been Viewed 293 Times Since Wed Jul 09, 2008 12:16 pm Author hostman with 1 replies
how to disable anonymous ftp logins
Advertise On This Page




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



Leave Your Comments

Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments
Share
| More
Share this page by putting this URL in your comments to other websites like myspace, Facebook, Twitter friendster, Hi5, Groups, Boards, Forum or others. Just Copy and Paste this Code
URL:
To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
BBCODE:
Subscribe Feeds
Webmasters - Exchange Links With Us. Add related websites to this topic
Add Link:
Links Related to : how to disable anonymous ftp logins

Comments and replies About how to disable anonymous ftp logins
:: 1 :: Reply #61003 Reply By carlos On Wed Jul 09, 2008 12:21 pm
carlos:
yeah, i got a dedicated server from godaddy and i got their control panel. but i found out is not so sucured. i want to have more security on my website so i dont allow any anonimous users to access through ftp. i followed your tutorial guide and it works