The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable User's FTP Access.

Discussion in 'General Discussion' started by Edude, Mar 30, 2005.

  1. Edude

    Edude Member

    Joined:
    Mar 16, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I am wondering if it is possible,
    to entirely disable an account, from using ftp.

    I don't want the main account to be accessible
    via ftp, and as I'm disabling the FTP manager,
    people will not be able to add any additional accounts.

    Thanks,
    -Evan
     
  2. Edude

    Edude Member

    Joined:
    Mar 16, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ah, so there is no way to disable it in cPanel, ie; a feature list.

    And have it done automatically?

    That is my intended goal.

    Thanks,
    -Evan
     
  3. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    18
    No, not currently... You'd need to make a feature request to cPanel. Simple enough to drop their username into /etc/ftpusers though
    :)
     
  4. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    The /etc/ftpusers file has absolutely no effect on our client's FTP access.

    We are using pure-ftpd - has anyone had any success with this FTP server?
     
  5. sreejithedl

    sreejithedl Registered

    Joined:
    Feb 8, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    disabling all the ftp accounts except main account

    1)Login to the server via ssh

    2) Take the backup of the /etc/proftpd directory
    #cp -prf /etc/proftpd /etc/proftpd.bkp

    3)#cd /etc/proftpd

    From here remove all the user files ( ftp passwords for all the accounts are stored here)

    3)Issue the following script after this:-=

    #/scripts/ftpupdate
    This will sync the passwords of all the accounts in the server.( All the ftp password files will be recreated with the main account entry only)

    After this login to the server WHM and ftp manager option from the Feature Manager so that the customers won't be getting any option to create new accounts. assign this feaure to all the packages .
     
Loading...

Share This Page