Results 1 to 3 of 3

How to Disable Default cPanel Login Details For FTP Access?

This is a discussion on How to Disable Default cPanel Login Details For FTP Access? within the Web & Server Administration forums, part of the Web Designing & Development category; Steps to Disable Default cPanel Login Details For FTP Access: 1. Open up the FTP update file and edit it ...

  1. #1
    Senior Member hostechsupport's Avatar
    Join Date
    Feb 2017
    Posts
    417

    Post How to Disable Default cPanel Login Details For FTP Access?

    Steps to Disable Default cPanel Login Details For FTP Access:

    1. Open up the FTP update file and edit it using the following command:

    root@server [] vi /usr/local/cpanel/bin/ftpupdate
    2. Move to the line number 189 or 211 and comment those. If you are using some of the old cPanel version, then you should get the following necessary code at line number 189 and if your cPanel version is the upgraded version then you can get
    You can see the following contents after editing the above file:
    $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . "\n";
    $vhosts->{$system_user} = join( ':', $system_user, $entry->[1], $entry->[2], $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . "\n";

    2. After the changes are done, make sure you run following command:

    root@server [] /usr/local/cpanel/bin/ftpupdate

    You will be secured from the hack attempts

    Steps to resolve "Webmail Shows Internal Server Error: User is Over Quota."

    Please refer the following steps:


    1.root@server[#] cd /var/cpanel/overquota
    2. root@server [/var/cpanel/overquota]# mv username username-bak

    Make sure you replace the username with the actual cPanel username.

    You won't see any error message after performing above steps.
    HostechSupport
    Best Linux/ Windows Server Management
    24x7 Skype: hostechsupportindia

  2. #2
    Senior Member
    Join Date
    Jul 2017
    Posts
    199

    Default Re: How to Disable Default cPanel Login Details For FTP Access?

    Thanks for sharing us...

  3. #3
    Junior Member
    Join Date
    Jun 2020
    Posts
    10

    Default Re: How to Disable Default cPanel Login Details For FTP Access?

    First of all we have to open the file to re-edit the stuff.


    root@server [] vi /usr/local/cpanel/bin/ftpupdate


    Then you have to go to the file and move to the line number 189 or 211 and make those line as a comment. If you are using some of the old cPanel version, then you are gonna get the following necessary code at line number 189 and if you cPanel version is from the upgraded version then you can get on line number 211.


    You can see some of the necessary content below:
    # print FTPASS join( ‘:’, $system_user, $entry->[1], $entry->[2], $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . “\n”;
    $vhosts->{$system_user} = join( ‘:’, $system_user, $entry->[1], $entry->[2], $entry->[3], $entry->[6], $entry->[7], $entry->[8] ) . “\n”;
    After all the necessary changes are done make sure you run few following command:


    root@server [] /usr/local/cpanel/bin/ftpupdate
    The biggest benefits of doing the above necessary stuff is you will be highly secured from the hacking process and regard of same the website is safe enough.

Tags for this Thread