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!

Observability Unlocked: Kubernetes & Cloud Monitoring with Splunk IM

Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team on ...

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...