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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...