Security

How to create a Splunk user using configuration files?

ankithreddy777
Contributor

Using authorize.conf, we can create roles. Using authentication.conf, we can map roles to LDAP groups. But how can we add users with Splunk authentication using configuration files?

Tags (2)

apilger_splunk
Splunk Employee
Splunk Employee

Would be command line useful as well?

Configure users with the CLI
https://docs.splunk.com/Documentation/Splunk/6.5.2/Security/ConfigureuserswiththeCLI

somesoni2
SplunkTrust
SplunkTrust

Splunk CLI is the way to go. You can create a user in configuration file. You may be able to copy users from other Splunk instance of yours by copying user and corresponding encrypted password from $SPLUNK_HOME/etc/passwd file. Sample user entry could be like this

:username:<hashed-password>::DisplayName:role(s):your@email.here
0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...