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!

How does the password aging/force password reset work?

Discussion in 'General Discussion' started by BianchiDude, Dec 19, 2010.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    How does the password aging/force password reset work?

    Does that make them change their password upon next cpanel login?

    How long do they have to change this?

    What if they just use ftp?

    Is this just one time, or every x days? is there a way to set it for every say 90 days?

    If they don't change it in x days, are the locked out? After how long?

    TIA
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Yes.

    I believe whenever they next log into cPanel.

    FTP works until you change the password on cPanel log in. You won't be prompted for password change on FTP.

    Not sure about this, perhaps cPanel staff can give some input on this. API perhaps. The official documentation is not elaborate on this.

    ForcePasswordChange < AllDocumentation/WHMDocs < TWiki
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Password aging is a completely different feature than Force Password Change.

    Password aging documentation: Configure Security Policies

    Force Password Change documentation: ForcePasswordChange < AllDocumentation/WHMDocs < TWiki

    Both only apply to authentication handled by the main cPanel daemon: cpsrvd. This means they will not apply to other services, such as FTP, SSH, etc.

    Force Password Change allows you to require a user (or all users) to change his account password next time he logs into cPanel & WHM.

    Password Aging requires users to change their cPanel & WHM passwords every X days.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    Thanks!

    Where does it store the aging information at? Is it in /etc/shadow?

    I want to be able to reset users who haven't changed there pass in X days to a random pass, as there are many people who don't use cpanel/whm that often, but do use SSH and FTP regularly.
     
  5. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
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