Refine your search:

1
1

Is there a way to change the splunk admin password from the command line when splunk isn't running?

Anytime I do a splunk install on our servers where splunk is on the net, I have to go manipulate firewall rules twice because splunk comes up with a default password. I'd really love to set that password to a specific one before I start splunk the first time.

asked 19 Mar '10, 23:03

Alan%20Bradley's gravatar image

Alan Bradley
8606734
accept rate: 100%


2 Answers:

You should add a new stanza in etc/user-seed.conf before first start.

Reference: http://www.splunk.com/base/Documentation/latest/Admin/User-seedconf

link

answered 19 Mar '10, 23:05

matt's gravatar image

matt ♦♦
3.1k2427
accept rate: 82%

You can also start the splunk instance and then run the command

splunk edit user admin -password YOURNEWPASSWORD -auth admin:changeme

then restart the splunk instance: splunk restart

I have this on a batch file for deployment.

link

answered 21 Mar '10, 20:48

BunnyHop's gravatar image

BunnyHop
7254424
accept rate: 25%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×100
×25

Asked: 19 Mar '10, 23:03

Seen: 2,842 times

Last updated: 21 Mar '10, 20:48

Copyright © 2005-2012 Splunk, Inc. All rights reserved.