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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...