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
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...