Check: UBTU-18-010400
Canonical Ubuntu 18.04 LTS STIG:
UBTU-18-010400
(in versions v2 r14 through v2 r9)
Title
The Ubuntu operating system must limit the number of concurrent sessions to ten for all accounts and/or account types. (Cat III impact)
Discussion
Ubuntu operating system management includes the ability to control the number of users and user sessions that utilize an operating system. Limiting the number of allowed users and sessions per user is helpful in reducing the risks related to DoS attacks. This requirement addresses concurrent sessions for information system accounts and does not address concurrent sessions by single users via multiple system accounts. The maximum number of concurrent sessions should be defined based on mission needs and the operational environment for each system.
Check Content
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 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.
Fix Text
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
Additional Identifiers
Rule ID: SV-219301r877399_rule
Vulnerability ID: V-219301
Group Title: SRG-OS-000027-GPOS-00008
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000054 |
The information system limits the number of concurrent sessions for each organization-defined account and/or account type to an organization-defined number of sessions. |
Controls
Number | Title |
---|---|
AC-10 |
Concurrent Session Control |