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
Revered Legend

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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...