SV-209033r603263_rule
V-209033
SRG-OS-000027
OL6-00-000319
CAT III
10
Limiting the number of allowed users and sessions per user can limit risks related to denial of service attacks. This addresses concurrent sessions for a single account and does not address concurrent sessions by a single user via multiple accounts. To set the number of concurrent sessions per user add the following line in "/etc/security/limits.conf":
* hard maxlogins 10
A documented site-defined number may be substituted for 10 in the above.
Run the following command to ensure the "maxlogins" value is configured for all users on the system:
$ grep "maxlogins" /etc/security/limits.conf /etc/security/limits.d/*.conf
You should receive output similar to the following:
* hard maxlogins 10
If it is not similar, this is a finding.
V-209033
False
OL6-00-000319
Run the following command to ensure the "maxlogins" value is configured for all users on the system:
$ grep "maxlogins" /etc/security/limits.conf /etc/security/limits.d/*.conf
You should receive output similar to the following:
* hard maxlogins 10
If it is not similar, this is a finding.
M
2928