The Photon operating system must limit the number of concurrent sessions to 10 for all accounts and/or account types.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256481 | SRG-OS-000027-GPOS-00008 | PHTN-30-000004 | SV-256481r958398_rule | 2024-12-16 | 1 |
Description |
---|
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 denial-of-service attacks. |
ℹ️ Check |
---|
At the command line, run the following command: # grep "^[^#].*maxlogins.*" /etc/security/limits.conf Expected result: * hard maxlogins 10 If the output does not match the expected result, this is a finding. Note: The expected result may be repeated multiple times. |
✔️ Fix |
---|
At the command line, run the following command: # echo '* hard maxlogins 10' >> /etc/security/limits.conf |