Rule ID
SV-256481r958398_rule
Version
V1R4
CCIs
CCI-000054
Operating system management includes the ability to control the number of users and user sessions that utilize an operating system. Limiting the number of allowed users and sessions per user is helpful in reducing the risks related to denial-of-service attacks.
At the command line, run the following command: # grep "^[^#].*maxlogins.*" /etc/security/limits.conf Expected result: * hard maxlogins 10 If the output does not match the expected result, this is a finding. Note: The expected result may be repeated multiple times.
At the command line, run the following command: # echo '* hard maxlogins 10' >> /etc/security/limits.conf