Installation

Splunk RHEL-07 STIG 040000 - setting hard maxlogins to 10 ok?

diptij
Path Finder

We had upgraded to Splunk 9.0.4 on a RHEL7.9 machine.

STIG RHEL-07-040000 states the following:

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.

The fix is the following:

Configure the 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 or in a ".conf" file defined in /etc/security/limits.d/ : * hard maxlogins 10

Will this any way impact Splunk functionality?  Is this ok to make this change and not impact Splunk?

Labels (1)
0 Karma
1 Solution

inventsekar
SplunkTrust
SplunkTrust

@diptij wrote:

Thank-you!

Does that mean if I set '* hard maxlogins 10', splunk will operate correctly?


Sure, Yes, Splunk will work just fine. Splunk will not complain anything about maxlogins. 


Upvotes are appreciated, if the query is solved, please accept it as solution, thanks. 

View solution in original post

inventsekar
SplunkTrust
SplunkTrust

Hi @diptij 

The Splunk got some requirements for "open files", filesystems, etc..

but no requirements for maxlogins. pls check the docs links below, thanks. 

 

the Software requirements for your reference:

https://docs.splunk.com/Documentation/Splunk/9.1.1/Installation/Systemrequirements#Considerations_re...

the hardware requirements for your reference: 

https://docs.splunk.com/Documentation/Splunk/9.1.1/Capacity/Referencehardware

 

0 Karma

diptij
Path Finder

Thank-you!

Does that mean if I set '* hard maxlogins 10', splunk will operate correctly?

0 Karma

inventsekar
SplunkTrust
SplunkTrust

@diptij wrote:

Thank-you!

Does that mean if I set '* hard maxlogins 10', splunk will operate correctly?


Sure, Yes, Splunk will work just fine. Splunk will not complain anything about maxlogins. 


Upvotes are appreciated, if the query is solved, please accept it as solution, thanks. 

Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...