Security

Managing users - deleting user says user does not exist?

zpasplunk
Explorer

Anyone know what's going on here? It won't let me delete a local user. I can see them in the UI, but cannot manage them.

I tried to delete via the CLI and this is what I get:

$ sudo /opt/splunk/bin/splunk remove user test1
Attempted to delete a user that does not exist: test1
$ sudo /opt/splunk/bin/splunk list user | grep 'test1'
username:        test1
Labels (1)
0 Karma

zpasplunk
Explorer

We're not using LDAP, and these are local Splunk users.

0 Karma

SinghK
Builder

did you try restarting Splunkd service it will clear anything that has not updated in UI.

Else you can try https://<splunk server>:8000/debug/refresh.

 

may be user has been removed and is just visible on UI.

 

hope that helps.

 

0 Karma

PaulPanther
Motivator

Have you already checked out some other splunk threads like How do you actually delete a user in the Splunk we... - Splunk Community

If the user test1 is not a local splunk user you can't delete the user in Splunk itself. Instead you have to delete the user in the source system ,e.g., LDAP Group.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...