Getting Data In

Scripting user deletes - will the clean userdata -f command delete admin account?

the_wolverine
Champion

Per documention, I can delete all userdata using ./splunk clean userdata -f

http://docs.splunk.com/Documentation/Splunk/4.3.4/Admin/DeleteuserdatafromtheCLI

Question: will this affect the admin account?

0 Karma

bobwalden
Explorer

It will reset the admin password back to "changeme", and I think all other admin user object fields (ie, full name, timezone, etc) back to defaults. But it will NOT delete anything in etc/user/admin. BTW, it will not delete the etc/user/... dir for a user who has created any private objects (saved searches, etc) and those private objects will still exist in that path.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...