Admin Manual

 


Set up user authentication with Splunk's built-in system

Set up user authentication with Splunk's built-in system

Splunk ships with support for three types of authentication systems:

Important: Splunk's built-in system always takes precedence over any external systems. This is the order in which Splunk authenticates a user:

1. Splunk built-in authentication

2. LDAP authentication (if enabled)

3. Scripted authentication (if enabled)

This topic describes how to create new users and change the properties (like password) of existing users using Splunk's built-in authentication system.

This topic also describes how to assign users to roles in Splunk's role-based access control system. Even if you're using LDAP or scripted authentication to authenticate users, you still need to follow the instructions in this topic on assigning roles to users.

Note: Role names must use lowercase characters. For example: "admin", not "Admin". User names, however, are entirely case-insensitive: "Jacque", "jacque", "JacQue" are all the same to Splunk.

Add and edit users

You can use Splunk Web or the CLI to add and edit users and assign them roles.

Note: Members of multiple roles inherit capabilities and properties from the role with the broadest permissions. In the case of search filters, if a user is assigned to roles with different search filters, they are all combined via OR.

Use Splunk Web

In Splunk Web:

1. Click Manager.

2. Click Access controls.

3. Click Users.

4. Click New or select an existing user to edit that user.

5. Specify or change the information for the user. You can specify the user's:

6. Assign the user to an existing role or roles and click Save.

You can also create a role specifically for a user, defining exactly what access that user has to Splunk. You can then assign the user to that role. For information on roles, read "Add and edit roles".

Use the CLI

In the CLI, use the add user command. Here are some examples:

NB: Passwords with special characters that would be interpreted by the shell (for example '$' or '!') must be either escaped or single-quoted. For example:

./splunk edit user admin -password 'fflanda$' -role admin -auth admin:changeme

or

./splunk edit user admin -password fflanda\$ -role admin -auth admin:changeme

Map a user to a role via Splunk Web

Once you've created a role in authorize.conf, map a user or users to it via Splunk Web:

1. Click on the Manager link in the upper right-hand corner.

2. Click the Users link.

3. Edit an existing user or create a new one.

4. Choose which role to map to from the Role list.

This documentation applies to the following versions of Splunk: 4.3 , 4.3.1 , 4.3.2 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.

Feedback submitted, thanks!