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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...