How to add the admin password required to start Splunk 7.1.0 in a scripted install?
There's a few ways, the recommend one is mentioned in the docs, for example here.
In short - user-seed.conf is your friend - that second link also contains advice how to start with a hashed password, so you don't need to save a cleartext password to a .conf file. That's the recommended way! 😉
Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂
What I found worked best in my scripts was to use the --seed-passwd
There's a few ways, the recommend one is mentioned in the docs, for example here.
In short - user-seed.conf is your friend - that second link also contains advice how to start with a hashed password, so you don't need to save a cleartext password to a .conf file. That's the recommended way! 😉
Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂