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.

A user cannot log into cPanel

Discussion in 'General Discussion' started by linuxChique, Apr 28, 2012.

  1. linuxChique

    linuxChique Member

    Joined:
    Aug 16, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    One of my users is having trouble logging into cPanel. His IP had been flagged by CSF and banned via iptables, and I fixed that with 'csf -a $IP'. I have confirmed that his IP is now accepted by iptables and he is able to interact wwith the server. Ever since then, however, he has had to perform a password reset to get in. Once he has reset his password, he can log in. If he logs out or closes his browser, his new password won't work and he'll have to do another password reset to get back in. How can I fix this, or where can I start troubleshooting this?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    Did you check cphulkd? If you have CSF installed and properly configured, you may disbale cphulkd! If you would like to have it enabled still, check the client IP against cphulkd block or flush the DB ( you can do these via WHM ) . Otherwise disabling cphuld will fix the issue, if it's causing the error here!

    Thank you,
    Nibin.
     
  3. linuxChique

    linuxChique Member

    Joined:
    Aug 16, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, I did check the cphulkd database. There were no entries in 'brutes' or 'logins'. Is this what you mean?
     
  4. Nimmi

    Nimmi Member

    Joined:
    Apr 30, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    If you are familiar with SSH, you may use the below specified commands to trouble -shoot the brute-force issue, once logged in as root.

    mysql
    use cphulkd;
    show tables;
    select * from blacklists;
    (if the mentioned IP is listed there, you may remove it)
    delete from blacklists where IP (give the corresponding field name)=xx.xx.xx.xx;

    If the IP is listed in the 'logins' table, you may remove it, if the issue still persists.
     
Loading...

Share This Page