3.1.3 /etc/security/user - maxage

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version


Defines the maximum number of weeks that a password is valid.

In setting the maxage attribute, it enforces regular password changes.


In /etc/security/user, set the default user stanza maxage attribute to a number greater than 0 but less than or equal to 13-

chsec -f /etc/security/user -s default -a maxage=13

This means that a user password must be changed 13 weeks after being set . If 0 is set then this effectively disables password ageing.

See Also