SV-215232r508663_rule
V-215232
SRG-OS-000480-GPOS-00227
AIX7-00-001136
CAT II
10
Use the "chsec" command to set "maxrepeats" to "3" for the default stanza:
# chsec -f /etc/security/user -s default -a maxrepeats=3
Use the "chsec" command to set "maxrepeats" to "3" for all the users who have "maxrepeats" values that are greater than "3", or its value is set to "0":
# chuser maxrepeats=3 [user_name]
Check system default for "maxrepeats" attribute:
# lssec -f /etc/security/user -s default -a maxrepeats
default maxrepeats=3
If the default "maxrepeats" is greater than "3", or its value is not set, or its value is set to "0", this is a finding.
Check the "maxrepeats" setting for all users using:
# lsuser -a maxrepeats ALL
The above command should yield the following output:
root maxrepeats=3
daemon maxrepeats=3
bin maxrepeats=3
sys maxrepeats=3
If the "maxrepeats" setting for any user is greater than "3", or its value is set to "0", this is a finding.
V-215232
False
AIX7-00-001136
Check system default for "maxrepeats" attribute:
# lssec -f /etc/security/user -s default -a maxrepeats
default maxrepeats=3
If the default "maxrepeats" is greater than "3", or its value is not set, or its value is set to "0", this is a finding.
Check the "maxrepeats" setting for all users using:
# lsuser -a maxrepeats ALL
The above command should yield the following output:
root maxrepeats=3
daemon maxrepeats=3
bin maxrepeats=3
sys maxrepeats=3
If the "maxrepeats" setting for any user is greater than "3", or its value is set to "0", this is a finding.
M
4012