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.

cPanel minimum character requirement

Discussion in 'Security' started by the_pm, Oct 21, 2010.

  1. the_pm

    the_pm Member

    Joined:
    Sep 2, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have a quick question about the cPanel minimum character requirement when updating passwords for an account. We have a reseller who has a client who needs to have a 4 character password temporarily while he's retrofitting an application. When we try to change the password, we get the following error:

    "Sorry, passwords must be at least 5 characters for security reasons. "

    How do we set the minimum down to 4 characters, even temporarily, so he can have the password he needs?

    Thanks!
    Paul
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You'd need to change the password in root SSH instead then for that cPanel user. This will bypass any restrictions.

    Code:
    /scripts/chpass username newpass
    Replace username with the cPanel username; replace newpass with the new password. I tried on my system and it didn't error on a 4 character password for that script. If it doesn't work, you can always just try "passwd username" instead, although you'd then have to sync the password for FTP in WHM > Synchronize FTP Passwords area.
     
Loading...

Share This Page