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.

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:
    16
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  4. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

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

Share This Page