SV-215222r508663_rule
V-215222
SRG-OS-000075-GPOS-00043
AIX7-00-001125
CAT II
10
From the command prompt, run the following command to set "minage=1" for the default stanza in "/etc/security/user":
# chsec -f /etc/security/user -s default -a minage=1
For each user who has "minage=0" set its "minage" to "1" by running the following command from command prompt:
# chsec -f /etc/security/user -s [user_name] -a minage=1
From the command prompt, run the following command to check the system default "minage" attribute value:
# lssec -f /etc/security/user -s default -a minage
default minage=1
If the default "minage" value is not set, or its value is less than "1", this is a finding.
From the command prompt, run the following command to check "minage" attribute value for all accounts:
# lsuser -a minage ALL
root minage=1
user1 minage=1
user2 minage=2
If any user's "minage" value is less than "1", this is a finding.
V-215222
False
AIX7-00-001125
From the command prompt, run the following command to check the system default "minage" attribute value:
# lssec -f /etc/security/user -s default -a minage
default minage=1
If the default "minage" value is not set, or its value is less than "1", this is a finding.
From the command prompt, run the following command to check "minage" attribute value for all accounts:
# lsuser -a minage ALL
root minage=1
user1 minage=1
user2 minage=2
If any user's "minage" value is less than "1", this is a finding.
M
4012