- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

bnorthway_splun

Splunk Employee
11-25-2018
08:15 PM
I need to create a user from the command line ("splunk add user") and require that user to change their password when they log in. The parameter for this option is not documented.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

bnorthway_splun

Splunk Employee
11-25-2018
08:17 PM
With a little bit of guessing, I discovered that the parameter is "-force-change-pass true"
A complete example is:
./splunk add user alice -password password123 -role user -email alice@acme.com -full-name "Alice" -force-change-pass true
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

bnorthway_splun

Splunk Employee
11-25-2018
08:17 PM
With a little bit of guessing, I discovered that the parameter is "-force-change-pass true"
A complete example is:
./splunk add user alice -password password123 -role user -email alice@acme.com -full-name "Alice" -force-change-pass true
