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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...