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.

Password changes not working?

Discussion in 'Security' started by allpar, Mar 3, 2015.

  1. allpar

    allpar Active Member

    Joined:
    Sep 16, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    I have had an odd problem with an email account and a regular account, where I change the password in CPanel (or in terminal via passwd), but I can't log in with that password.

    I can't figure out if the user has been blocked or if there's an issue with the password command. I am obviously afraid to change any other passwords.

    The password DOES work for the Cpanel login but not for shell which is needed for SFTP.

    Any thoughts? Keys aren't working either!

    Current version 11.48.1 on CentOS
     
  2. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Check /var/log/secure while attempting the shell login or SFTP login.
     
  3. allpar

    allpar Active Member

    Joined:
    Sep 16, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Oh, do I feel stupid.

    "User not allowed because not listed in AllowUsers"

    which is, for those of you coming in via search, in /etc/ssh/sshd_config

    Now I feel very foolish indeed.

    Thing is, one takes these basic security precautions, then years pass...

    I did not even THINK of that log, I'd been wrapped up in firewalls and such.

    THANK YOU.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    942
    Likes Received:
    57
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    You're welcome! No need to feel foolish, the logs (almost) always hold your answers :)
     
Loading...

Share This Page