Getting Data In

Reload passwd - SOLVED

ben_leung
Builder

I want to replace the existing passwd file on indexers with a new file. The only way to accomplish this is to restart the indexer. There are summary indexing scheduled searches running almost every minute. No good time window to do a restart. Is there a REST API endpoint to reload the passwd file? Is there any way to put the passwd file in place without a restart?

Tags (3)
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Not sure if this loads the passwd file, this Splunk refresh URL does refresh the authentication related changes without restart. Worth giving a try. Just launch

http://yoursplunkserver:8000/en-US/debug/refresh?entity=admin/auth-services

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Already on it 🙂

0 Karma

richgalloway
SplunkTrust
SplunkTrust

For the benefit of future users searching for answers to a similar problem, please convert one of the comments to an answer and accept it.

---
If this reply helps you, Karma would be appreciated.
0 Karma

somesoni2
SplunkTrust
SplunkTrust

Not sure if this loads the passwd file, this Splunk refresh URL does refresh the authentication related changes without restart. Worth giving a try. Just launch

http://yoursplunkserver:8000/en-US/debug/refresh?entity=admin/auth-services

ben_leung
Builder

Browsing through other answers:http://answers.splunk.com/answers/129654/how-to-i-trigger-reload-of-authentication-configuration-pro...

./splunk _internal call /authentication/providers/services/_reload -auth

from command line is a step towards the direction to scripting my intended purpose..

ben_leung
Builder

This worked! Although you have to sign in with an existing account in order to refresh. Thanks for this work around, no need to restart the indexers now.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...