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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...