Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Setting minimum password strenght via script ?

Discussion in 'Security' started by justjaph, May 12, 2014.

  1. justjaph

    justjaph Member

    Joined:
    Oct 17, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all.

    Is there any way to change the minimum password strenght via command line ? Doing it on server by server basis via WHM is a bit painful ...

    Best regards,

    ./J
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,307
    Likes Received:
    1,848
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    The value for this option is stored in /var/cpanel/cpanel.config:

    Code:
    minpwstrength=0
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. justjaph

    justjaph Member

    Joined:
    Oct 17, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Michael.

    Already got that :) I was asking if there was some /scripts/something to change it...

    Oh well, got around it using plain'ol'perl :)
     
  4. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    1,010
    Likes Received:
    87
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
    That's what I do, a quick perl command or sed command to set the option.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice