Results 1 to 13 of 13

Thread: Disabling Anonymous FTP access server wide

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    365

    Default Disabling Anonymous FTP access server wide

    I want to disable Anonymous FTP access for everyone and I removed that section from proftpd.conf but when I see the logfiles I see people rejected from www.domain.com but not from the real IP adresses.

    When they try to do an anon login they get connected instead of refused like when they try www.domain.com

    Why is that?

    I want to DISABLE anon ftp access for everybody all the time. How?

    Thank you!
    Webhostingtalk.nl :: For all your Dutch (AMS-IX - Amsterdam) and European hosting quotes
    The best and only hosting forum you need in Europe
    You can ask your quotes and questions in English!

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    365

    Default

    Anyone?
    Webhostingtalk.nl :: For all your Dutch (AMS-IX - Amsterdam) and European hosting quotes
    The best and only hosting forum you need in Europe
    You can ask your quotes and questions in English!

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    425
    cPanel/WHM Access Level

    Root Administrator

    Default

    Create a file named \"ftpuser\" and put the following lines in it:

    anonymous
    ftp

    Then place the file in your etc directory.

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    365

    Default

    And what does this do?
    Webhostingtalk.nl :: For all your Dutch (AMS-IX - Amsterdam) and European hosting quotes
    The best and only hosting forum you need in Europe
    You can ask your quotes and questions in English!

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    425
    cPanel/WHM Access Level

    Root Administrator

    Default

    Any user listed in the ftpuser file is denied FTP access to the server.

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    365

    Default

    Well, I did this, restarted proftpd an tried to login anonymous.

    login to www.domain.com failed (it asks for a pasword) but when they try to connect to the IP they can connect en see the dir with incoming. They can\'t do anything but I don\'t want them to connect :-(
    I don\'t want ANY connect through anon ftp.

    using this ftpuser file in /etc doesn\'t change a thing.
    Webhostingtalk.nl :: For all your Dutch (AMS-IX - Amsterdam) and European hosting quotes
    The best and only hosting forum you need in Europe
    You can ask your quotes and questions in English!

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    210

    Default

    I added this to ftpuser

    anonymous
    ftp
    root
    uucp
    news

    Works fine - denies them entry

    --James

  8. #8
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    247

    Default

    [quote:a8df8091f4]I added this to ftpuser

    anonymous
    ftp
    root
    uucp
    news

    Works fine - denies them entry

    --James [/quote:a8df8091f4] interesting do you need to chmod the ftpuser file in anyway ?

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    [quote:359e196943] login to www.domain.com failed (it asks for a pasword) but when they try to connect to the IP they can connect en see the dir with incoming. [/quote:359e196943] Does adding the IP number to ftpuser file not help? Or can you only put usernames in that file?

  10. #10
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default

    [quote:d28d6cb05f]I added this to ftpuser

    anonymous
    ftp
    root
    uucp
    news

    Works fine - denies them entry

    --James [/quote:d28d6cb05f]

    It works with anonymous but for some reason the user \"ftp\" still gets through

  11. #11
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default

    Is the file suppose to be called:

    ftpuser

    or

    ftpusers

    ?

    [Edited on 11/29/01 by tabernack]

  12. #12
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default

    I tried both and it still doesn\'t work. Cpanel keeps adding Anon FTP with each account.

  13. #13
    Member
    Join Date
    Aug 2001
    Posts
    105

    Default

    Cpanel will keep adding those accounts, but with the ftpusers file using the username anonymous will not work.

Similar Threads

  1. Replies: 1
    Last Post: 06-25-2006, 02:57 PM
  2. FTP anonymous access
    By AVL in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 11-20-2003, 02:40 PM
  3. Anonymous FTP access
    By kardukov in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 09-26-2003, 08:52 PM
  4. blocking anonymous ftp access
    By kurt in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-06-2003, 02:03 PM
  5. How to turn off anonymous FTP access server wide?
    By Ken in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-22-2002, 06:42 PM