SV-282371r1200093_rule
V-282371
SRG-OS-000027-GPOS-00008
TOSS-05-000313
CAT III
10
Configure TOSS to limit the number of concurrent sessions to 256 or less for all accounts and/or account types.
Add the following line to the top of the "/etc/security/limits.conf" or in a ."conf" file defined in "/etc/security/limits.d/":
* hard maxlogins 256
Verify TOSS limits the number of concurrent sessions to 256 or less for all accounts and/or account types using the following command:
$ sudo grep -r -s '^[^#].*maxlogins' /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard maxlogins 256
This can be set as a global domain (with the * wildcard) but may be set differently for multiple domains.
If the "maxlogins" item is missing, commented out, or the value is set greater than "256" and is not documented with the information system security officer (ISSO) as an operational requirement for all domains that have the "maxlogins" item assigned, this is a finding.
V-282371
False
TOSS-05-000313
Verify TOSS limits the number of concurrent sessions to 256 or less for all accounts and/or account types using the following command:
$ sudo grep -r -s '^[^#].*maxlogins' /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard maxlogins 256
This can be set as a global domain (with the * wildcard) but may be set differently for multiple domains.
If the "maxlogins" item is missing, commented out, or the value is set greater than "256" and is not documented with the information system security officer (ISSO) as an operational requirement for all domains that have the "maxlogins" item assigned, this is a finding.
M
5738