How does the password aging/force password reset work?

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
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
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
How does the password aging/force password reset work?
Does that make them change their password upon next cpanel login?
Yes.

How long do they have to change this?
I believe whenever they next log into cPanel.

What if they just use ftp?
FTP works until you change the password on cPanel log in. You won't be prompted for password change on 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?
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
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
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.
 

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
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.
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.