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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...