Duplicate FTP Hosts in Show IP Usage

Ran into an issue today where a domain was showing in the cPanel “Show IP Address Usage” twice in the “FTP Usage” column. This was distressing the client so I looked into it and it appears this list is pulled from the /etc/pure-ftpd/ directory, which has the following directory structure:

[email protected](/etc/pure-ftpd)$ ll
total 16
drwxr-xr-x  2 root root   4096 Dec  8 13:42 ./
drwxr-xr-x 90 root root  12288 Dec  8 13:42 ../
lrwxrwxrwx  1 root wheel    25 Dec  8 13:40 1.2.3.4 -> /home/user1/public_ftp/
lrwxrwxrwx  1 root wheel    24 Dec  8 13:40 2.3.4.5 -> /home/user2/public_ftp/
lrwxrwxrwx  1 root wheel    25 Dec  8 13:40 3.4.5.6 -> /home/user3/public_ftp/
lrwxrwxrwx  1 root wheel    25 Dec  8 13:40 4.5.6.7 -> /home/user4/public_ftp/
lrwxrwxrwx  1 root wheel    25 Dec  8 13:40 5.6.7.8 -> /home/user5/public_ftp/
lrwxrwxrwx  1 root wheel    23 Dec  8 13:40 6.7.8.9 -> /home/user3/public_ftp/

In my case, user3 had two IPs pointing to his public_ftp directory which caused the issue. I removed the symlink and then the IP Usage showed properly.

Just a quick fix for anyone else who experiences this issue!

Can’t change your FTP password?

So I just ran into a very interesting issue on an account. The client was complaining that their client could not access FTP and every time they tried to change the password, the change did not seem to “take”. After a bit of research, I figured out that apparently, the account was in a cPanel “Demo” mode, in which changing of the password sends success messages, but does not actually change the password. To repair this issue, you just need to take the following steps:

  1. Log into WHM as root
  2. Go to the “Disable or Enable Demo Mode” under “Account Functions”
  3. Choose the account and Press “Modify”
  4. Disable Demo mode!

Odd that cPanel doesn’t provide any notice that the account is in demo mode when changing the password via cPanel but I guess it’s just another one of those interesting inconstancies within cPanel.

Till next time!