Security

change default splunk login web page

hartfoml
Motivator

I require and RSA pin&tokencode to be entered in the password field on the splunk login page.

My managment has asked if I can change the word PASSWORD on the login screen to PIN & TokenCode

I think the place to do this is the;

share/splunk/search_mrsparkle/templates/account/login.html

on this line;

<p>
<label for="password"><%doc>TRANS: Prompt the user to enter their password to login</%doc>${_('Pin & TokenCode')}</label><br />
<input type="password" name="password" id="password" ${'' if enable_login_form else 'disabled="true"'} />
</p>

I would like to put these changes in the /system/local/something.file so that the change does not get overwritten with updates.

Where should I put the custom modification and what should the file name be?

Tags (3)
0 Karma
1 Solution

lguinn2
Legend

There is no local version of this file AFAIK. I think you should make a backup copy of your edits, and then reinstall them at each update.

View solution in original post

0 Karma

lguinn2
Legend

There is no local version of this file AFAIK. I think you should make a backup copy of your edits, and then reinstall them at each update.

0 Karma

lguinn2
Legend

You CAN easily add HTML text to the page, though - forgot to mention this earlier. Edit (or create) $SPLUNK_HOME/etc/system/local/web.conf

Add

[settings]
login_content = <content_string>`

Replace `` with whatever you want, including HTML

hartfoml
Motivator

Not what I was hoping to here. I will mark this answered even though I don't like the answer.

Thanks for the help 🙂

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...