Getting Data In

How do I change a password in the Command Line Interface (CLI) without typing it in cleartext?

lbnsam
New Member

Hello,

I was wondering how do you change a password using the CLI without typing it into the command in cleartext?

This is primarily because PowerShell commands are logged in the environment and so any password changes will be written to the log. It is not feasible to disable PowerShell logging to change the password either, so this will have to be done in the CLI.

Does anyone know of a method to accomplish this?

Thank you in advance!

0 Karma
Get Updates on the Splunk Community!

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...