Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    Default Disabling FTP Access

    Hi,

    In WHM I add a package that "Max FTP Accounts = 0" but, I still can FTP!
    How can I disable FTP, specially when the package is for mail (xmail, x3mail) only?

    Thanks,
    Simon Son

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Simonson View Post
    Hi,

    In WHM I add a package that "Max FTP Accounts = 0" but, I still can FTP!
    How can I disable FTP, specially when the package is for mail (xmail, x3mail) only?

    Thanks,
    Simon Son
    Note: Maximum FTP Accounts only means additional FTP accounts. It does not count the FTP account created for the cPanel user.

    At this time, cPanel/WHM does not natively support creating a cPanel account that does not have FTP access.

  3. #3
    Member
    Join Date
    May 2007
    Posts
    78

    Default

    I was able to disable it in WHM by unticking it from the Services panel and also blocking it in the Security Center.

    Cpanel still creates the accounts, but the server settings will not allow any use of ftp.
    For good measure, I also edited the conf file to change the ftp port to something that isn't standard.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Note: Maximum FTP Accounts only means additional FTP accounts. It does not count the FTP account created for the cPanel user.
    Maybe it's time to correct this!
    When I set something to '0', I expect that it means '0'.
    Not 1+0

    Just as I expect that unchecking "Shell Access" actually means ALL shell access for this account, not just additional logins.... blah!


    At least edit the tag to make it clear that this won't disable ftp

    Anyway,
    Why isn't there a way to entirely disable ftp use per user?
    Out of 30 accounts/domains or so that I have on one server, there are only 2 or 3 that ever require ftp access.
    Why do I have to leave that unwanted access in place?

    There must be a way to deny access.
    By placing a "deny from username" in the pure-ftp.conf maybe?
    Where's the documentation on this?
    Can't find anything like it in the pure-ftp docs at any rate.

  5. #5
    Member
    Join Date
    Mar 2008
    Posts
    16

    Default

    You could try PAM auth for this?

    As ive never wanted to do this I wasnt sure where to look, How ever there is a MySQL auth section for pureftpd maybe that will help?

    http://download.pureftpd.org/pub/pur...c/README.MySQL

  6. #6
    Member
    Join Date
    Apr 2006
    Posts
    25

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    3

    Default

    Greetings all!

    Here is what I would like to setup -

    Am leasing a shopping cart service - we provide the templates, cart, ssl cert, etc - the user ONLY needs access to email in cpanel (mail only theme/s).

    I do not want them to be able access to their account's main ftp - for obvious reasons. However, I do need to be able to setup ftp to 1 or 2 specific directories ONLY (for uploading their own images). To top things off - WE need access to their main ftp via root or, preferably, another employee login to manage their site.

    Any suggestions?

Similar Threads & Tags
Similar threads

  1. disabling ftp access for an account without disabling account
    By periwinkle in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-25-2007, 07:14 PM
  2. Disabling root access via Ftp??
    By damainman in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 07-25-2005, 10:42 AM
  3. Disabling myShell Access?
    By p2p in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-20-2005, 04:48 PM
  4. disabling shell access
    By sentry in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-10-2003, 04:16 PM
  5. Disabling Anonymous FTP access server wide
    By Domenico in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 12-01-2001, 06:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube