Security

splunk hash-passwd Command Not Accepting My Password

morethanyell
Builder

Hi,

May I please get some clarification as to why my password isn't accepted by the splunk hash-passwd CLI command? Need to place it in my user-seed.conf. Thanks in advance.

Here:

alt text

alt text

0 Karma
1 Solution

harsmarvania57
Ultra Champion

Hi,

Please enclose your password in single quote.

Like

/opt/splunk/bin/splunk hash-passwd 'Es$jhsd2'

View solution in original post

lmethwani_splun
Splunk Employee
Splunk Employee

Hi,

It will accept 8 alphanumeric characters without single quotes. If you are using any special characters, you must mentioned them into single quote.


1. splunk hash-passwd acdef123
2. splunk hash-passwd 'Es$jhsd2'

Thanks

harsmarvania57
Ultra Champion

Hi,

Please enclose your password in single quote.

Like

/opt/splunk/bin/splunk hash-passwd 'Es$jhsd2'
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...