- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to create a Splunk user using configuration files?
ankithreddy777
Contributor
03-02-2017
11:06 AM
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?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
apilger_splunk
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Splunk Employee
03-02-2017
11:26 AM
Would be command line useful as well?
Configure users with the CLI
https://docs.splunk.com/Documentation/Splunk/6.5.2/Security/ConfigureuserswiththeCLI
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![somesoni2 somesoni2](https://community.splunk.com/legacyfs/online/avatars/100305.jpg)
somesoni2
Revered Legend
03-02-2017
12:03 PM
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
![](/skins/images/FE4825B2128CA5F641629E007E333890/responsive_peak/images/icon_anonymous_message.png)