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
Builder

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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...