SV-219301r610963_rule
V-219301
SRG-OS-000027-GPOS-00008
UBTU-18-010400
CAT III
10
Configure the Ubuntu operating system to limit the number of concurrent sessions to ten for all accounts and/or account types.
Add the following line to the top of the /etc/security/limits.conf:
* hard maxlogins 10
Verify that the Ubuntu operating system limits the number of concurrent sessions to ten for all accounts and/or account types by running the following command:
# grep maxlogins /etc/security/limits.conf | grep -v '^* hard maxlogins'
The result must contain the following line:
* hard maxlogins 10
If the "maxlogins" item is missing or the value is not set to 10 or less, it is commented out, this is a finding.
V-219301
False
UBTU-18-010400
Verify that the Ubuntu operating system limits the number of concurrent sessions to ten for all accounts and/or account types by running the following command:
# grep maxlogins /etc/security/limits.conf | grep -v '^* hard maxlogins'
The result must contain the following line:
* hard maxlogins 10
If the "maxlogins" item is missing or the value is not set to 10 or less, it is commented out, this is a finding.
M
4055