<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to install Splunk UFD without asking for password in Linux? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413235#M73093</link>
    <description>&lt;P&gt;You either have to supply the credentials (either in the clear or hashed) using $SPLUNK_HOME/etc/system/local/user-seed.conf and using the --no-prompt command line option when running the first time:&lt;/P&gt;

&lt;P&gt;[user_info]&lt;BR /&gt;
USERNAME = admin&lt;BR /&gt;
PASSWORD = &lt;BR /&gt;
HASHED_PASSWORD = &lt;/P&gt;

&lt;P&gt;Or use --seed-passwd or --gen-and-print-passwd as part of the arguments. Either way the documentation is found here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Secureyouradminaccount#Create_admin_credentials_after_starting_Splunk_Enterprise" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Secureyouradminaccount#Create_admin_credentials_after_starting_Splunk_Enterprise&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:08:21 GMT</pubDate>
    <dc:creator>worshamn</dc:creator>
    <dc:date>2020-09-30T00:08:21Z</dc:date>
    <item>
      <title>How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413234#M73092</link>
      <description>&lt;P&gt;HI Friends, &lt;/P&gt;

&lt;P&gt;I am installing Splunk UFD 7.2.5, but when I run the command (/opt/splunk/bin/splunk  start --accept-license) its asking for the password. Is there a way I can install UFD without asking password ? &lt;/P&gt;

&lt;P&gt;Previously we have SPLUNK UFD 6 version and when we run the same command it doesn't ask for password. I think some file is hardcoded to take default password (changeme). Can you please point me in which file I need to make this change to not to ask password so that I can put this as part of automated script to install Splunk UFD. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 21:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413234#M73092</guid>
      <dc:creator>pkumar9610</dc:creator>
      <dc:date>2019-04-22T21:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413235#M73093</link>
      <description>&lt;P&gt;You either have to supply the credentials (either in the clear or hashed) using $SPLUNK_HOME/etc/system/local/user-seed.conf and using the --no-prompt command line option when running the first time:&lt;/P&gt;

&lt;P&gt;[user_info]&lt;BR /&gt;
USERNAME = admin&lt;BR /&gt;
PASSWORD = &lt;BR /&gt;
HASHED_PASSWORD = &lt;/P&gt;

&lt;P&gt;Or use --seed-passwd or --gen-and-print-passwd as part of the arguments. Either way the documentation is found here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Secureyouradminaccount#Create_admin_credentials_after_starting_Splunk_Enterprise" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Secureyouradminaccount#Create_admin_credentials_after_starting_Splunk_Enterprise&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413235#M73093</guid>
      <dc:creator>worshamn</dc:creator>
      <dc:date>2020-09-30T00:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413236#M73094</link>
      <description>&lt;P&gt;I have tried this and it works, thank you for the quick response &amp;amp; solution. &lt;/P&gt;

&lt;P&gt;We have UFD 6X version in few application servers, that doesn't have user-seed.conf file but still it doesn't ask for password, is there any other file it refers to in any other location in previous version of splunk UFD ?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 11:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413236#M73094</guid>
      <dc:creator>pkumar9610</dc:creator>
      <dc:date>2019-04-23T11:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413237#M73095</link>
      <description>&lt;P&gt;No, not that I'm aware of but apparently user-seed.conf has been around for a long time, so I would think it should work for 6.X as well&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.0/Admin/User-seedconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.0/Admin/User-seedconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413237#M73095</guid>
      <dc:creator>worshamn</dc:creator>
      <dc:date>2019-04-23T13:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413238#M73096</link>
      <description>&lt;P&gt;Use this.&lt;/P&gt;

&lt;P&gt;sudo /opt/splunkforwarder/bin/splunk start --accept-license --answer-yes --no-prompt --seed-passwd PASSWORD&lt;/P&gt;

&lt;P&gt;Where you see PASSWORD enter your own or populate with a variable.,I found a fix to this when installing Splunk UFC 8.0.1&lt;/P&gt;

&lt;P&gt;sudo /opt/splunkforwarder/bin/splunk start --accept-license --answer-yes --no-prompt --seed-passwd PASSWORD&lt;/P&gt;

&lt;P&gt;When sub PASSWORD with you password, it'll create the admin account and breeze through the install.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 18:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/413238#M73096</guid>
      <dc:creator>thomaslord</dc:creator>
      <dc:date>2020-02-11T18:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to install Splunk UFD without asking for password in Linux?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/609374#M105659</link>
      <description>&lt;P&gt;I tried the command you provided but it gave an error while completing the installation. Here is the error I got:&lt;/P&gt;&lt;P&gt;Creating unit file... Failed to auto-set default user. Failed to create the unit file. Please do it manually later.&lt;/P&gt;&lt;P&gt;Please, how do I fix this? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 20:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-install-Splunk-UFD-without-asking-for-password-in-Linux/m-p/609374#M105659</guid>
      <dc:creator>hesbee</dc:creator>
      <dc:date>2022-08-12T20:14:42Z</dc:date>
    </item>
  </channel>
</rss>

