Splunk Cloud Platform

Securing Splunk Cloud Platform

Acrobat logo Download manual as PDF

Acrobat logo Download topic as PDF

Configure users with the CLI

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

  • To add a new administrator user with the password "changeme2":
./splunk add user admin2 -password changeme2 -role admin -auth admin:changeme
  • To change an existing user's password to "fflanda":
./splunk edit user admin -password fflanda -role admin -auth admin:changeme

Important: 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


./splunk edit user admin -password fflanda\$ -role admin -auth admin:changeme
Last modified on 23 May, 2012
Configure users with Splunk Web
Add a user to a role with Splunk Web

This documentation applies to the following versions of Splunk Cloud Platform: 8.1.2103, 8.2.2104, 8.2.2106, 8.2.2105, 8.2.2107 (latest FedRAMP release), 8.2.2109, 8.2.2111

Was this documentation topic helpful?

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

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters