STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 4 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide

V-238323

CAT III (Low)

The Ubuntu operating system must limit the number of concurrent sessions to ten for all accounts and/or account types.

Rule ID

SV-238323r1101671_rule

STIG

Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide

Version

V2R4

CCIs

CCI-000054

Discussion

The 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 upon mission needs and the operational environment for each system.

Check Content

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 /etc/security/limits.d/*.conf | grep -v '^#'

* 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 10 for all accounts and/or account types. 
 
Add the following line to the top of the "/etc/security/limits.conf" file or to a file in "/etc/security/limits.d/": 
 
* hard maxlogins 10