SV-221838r603260_rule
V-221838
SRG-OS-000027-GPOS-00008
OL07-00-040000
CAT III
10
Configure the operating system to limit the number of concurrent sessions to "10" 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 10
Verify the operating system limits the number of concurrent sessions to 10 for all accounts and/or account types by issuing the following command:
# grep "maxlogins" /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard maxlogins 10
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 not set to "10" or less for all domains that have the "maxlogins" item assigned, this is a finding.
V-221838
False
OL07-00-040000
Verify the operating system limits the number of concurrent sessions to 10 for all accounts and/or account types by issuing the following command:
# grep "maxlogins" /etc/security/limits.conf /etc/security/limits.d/*.conf
* hard maxlogins 10
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 not set to "10" or less for all domains that have the "maxlogins" item assigned, this is a finding.
M
4089