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!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...