STIGUI
V-215223CAT II — Medium severitySV-215223r1268300_rule

AIX Operating systems must enforce a 180-day maximum password lifetime restriction.

Rule version AIX7-00-001126 · STIG v3 · 2026-08-31

Discussion

Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.

Check

From the command prompt, run the following command to check the system default "maxage" attribute value: # lssec -f /etc/security/user -s default -a maxage default maxage=25

If the default "maxage" value is not set, its value is great than "25", or its value is set to "0", this is a finding.

From the command prompt, run the following command to check "maxage" attribute value for all accounts: # lsuser -a maxage ALL root maxage=25 user1 maxage=25 user2 maxage=25

If any user does not have "maxage" set, its "maxage" value is greater than "25", or its value is set to "0", this is a finding.

Fix

From the command prompt, run the following command to set "maxage=25" (175 days) for the default stanza in "/etc/security/user": # chsec -f /etc/security/user -s default -a maxage=25

For each user who has "maxage" value great than "25", set its "maxage" to "25" by running the following command from command prompt: # chsec -f /etc/security/user -s [user_name] -a maxage=25

Identifiers

Group ID
V-215223
Group title
SRG-OS-000076-GPOS-00044
Rule ID
SV-215223r1268300_rule
Check ID
C-16421r1268298_chk
Fix ID
F-16419r1268299_fix