SV-238323r654144_rule
V-238323
SRG-OS-000027-GPOS-00008
UBTU-20-010400
CAT III
10
Configure the Ubuntu 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" file:
* hard maxlogins 10
Verify the Ubuntu operating system limits the number of concurrent sessions to 10 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 or is commented out, this is a finding.
V-238323
False
UBTU-20-010400
Verify the Ubuntu operating system limits the number of concurrent sessions to 10 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 or is commented out, this is a finding.
M
5318