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
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!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...