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. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

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

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
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. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...