SV-215224r508663_rule
V-215224
SRG-OS-000077-GPOS-00045
AIX7-00-001127
CAT II
10
From the command prompt, run the following command to set "histsize=5" for the default stanza in "/etc/security/user":
# chsec -f /etc/security/user -s default -a histsize=5
For each user who has "histsize" value less than "5", set its "histsize" to "5" by running the following command from command prompt:
# chsec -f /etc/security/user -s [user_name] -a histsize=5
From the command prompt, run the following command to check the system default "histsize" attribute value:
# lssec -f /etc/security/user -s default -a histsize
default histsize=5
If the default "histsize" value is not set, or its value is less than "5", this is a finding.
From the command prompt, run the following command to check "histsize" attribute value for all accounts:
# lsuser -a histsize ALL
root histsize=5
user1 histsize=5
user2 histsize=5
user3 histsize=6
If any user does not have "histsize" set, or its "histsize" value is less than "5", this is a finding.
V-215224
False
AIX7-00-001127
From the command prompt, run the following command to check the system default "histsize" attribute value:
# lssec -f /etc/security/user -s default -a histsize
default histsize=5
If the default "histsize" value is not set, or its value is less than "5", this is a finding.
From the command prompt, run the following command to check "histsize" attribute value for all accounts:
# lsuser -a histsize ALL
root histsize=5
user1 histsize=5
user2 histsize=5
user3 histsize=6
If any user does not have "histsize" set, or its "histsize" value is less than "5", this is a finding.
M
4012