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 the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...