password aging
The rules in the shadow file that decide how long a password lasts and when its user is warned.
In more detail
chage sets the minimum and maximum age, the warning period, inactivity and account expiry; chage -l reads them back. Setting the last change to day zero, as passwd -e does, forces a new password at the next login.
Example
chage -M 90 -W 7 mira makes passwords last 90 days with a week of warning.Related terms
- login.defs — The file of defaults, such as password aging and ID ranges, that useradd copies into each new account.
- useradd — The command that creates a user account.
Taught in
- Logins, su, sudo And SSH Between Hosts — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: People, Packages And Time — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 1: Eighteen Tasks, One Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 2: Real Machines And The Ten Costly Mistakes — Red Hat Certified System Administrator (EX200) Exam Prep
- Three Audit Findings And A Phone: Password Policy, Lockouts And MFA — CompTIA Linux+ (XK0-006) Exam Prep
- Users And Groups From A List, With Passwords That Settle — RHCE in Ansible (EX294): Automate Red Hat Systems