Security

Disable local user login bypass

riyastk
Observer

Hi,

I have enabled SSO authentication for my splunk instance. However, I am still able to login as local user with en-US/account/login?loginType=splunk option. Is there an option to disable this bypassing to tighten security?

0 Karma

nickhills
Ultra Champion

You can not disable local authentication, but you can prevent it from working.
Bear in mind that you can luse dap from the cli, but not SAML.

  1. To "break" local authentication remove $SPLUNK_HOME/etc/passwd This will remove any local user passwords.
  2. Restart Splunk, when prompted set a username and password for admin
  3. Edit $SPLUNK_HOME/etc/passwd and replace random characters in the hash password field (making the old password unusable)
  4. Restart Splunk - your admin password will no longer work.

Note any OS user with appropriate perms can perform steps 1-2 to regain access

If my comment helps, please give it a thumbs up!
0 Karma

riyastk
Observer

Is there anyway we can turn the login page blank or something ?

0 Karma

nickhills
Ultra Champion

no. I dont belive so.

If my comment helps, please give it a thumbs up!
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...