<?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: Silent Install of UF in Linux Client Machines in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Silent-Install-of-UF-in-Linux-Client-Machines/m-p/705273#M116665</link>
    <description>&lt;P&gt;To accept the license during the start, execute:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;opt/splunkforwarder/splunk start --accept-license&amp;nbsp;--answer-yes&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and before you start the forwarder service I suggest to create a user-seed.conf to set the admin password in clear text on the CLI.&lt;/P&gt;&lt;P&gt;user-seed.conf must be stored in&amp;nbsp;/&lt;SPAN&gt;opt/splunkforwarder&lt;/SPAN&gt;&lt;SPAN&gt;/etc/system/local/&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;[user_info]
USERNAME = admin&lt;BR /&gt;PASSWORD = YourPassword&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;another method is to hash the password and add the hash to the user-seed.conf. It is described in the following doc&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.3.2/Security/Secureyouradminaccount#Create_administrator_credentials_for_automated_installations_with_the_.27hash-passwd.27_CLI_command" target="_blank"&gt;Create secure administrator credentials - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 09:09:29 GMT</pubDate>
    <dc:creator>PaulPanther</dc:creator>
    <dc:date>2024-11-26T09:09:29Z</dc:date>
    <item>
      <title>Silent Install of UF in Linux Client Machines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Silent-Install-of-UF-in-Linux-Client-Machines/m-p/705265#M116664</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;We are planning to perform a silent installation of the Splunk Universal Forwarder on a Linux client machine. So far, we have created a splunk user on the client machine, downloaded the .tgz forwarder package, and extracted it to the /opt directory.&lt;/P&gt;
&lt;P&gt;Currently, the folder /opt/splunkforwarder is created, and its contents are accessible. I have navigated to the /opt/splunkforwarder/bin directory, and now I want to execute a single command to:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Agree to the license without prompts, and&lt;/LI&gt;
&lt;LI&gt;Set the admin username and password.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I found a reference for a similar approach in Windows, where the following command is used:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;msiexec.exe /i splunkforwarder_x64.msi AGREETOLICENSE=yes SPLUNKUSERNAME=SplunkAdmin SPLUNKPASSWORD=Ch@ng3d! /quiet&lt;/LI-CODE&gt;
&lt;P&gt;However, I couldn't find a single equivalent command for Linux that accomplishes all these steps together. Could you please provide the exact command to achieve this on Linux?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 15:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Silent-Install-of-UF-in-Linux-Client-Machines/m-p/705265#M116664</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2024-11-26T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Install of UF in Linux Client Machines</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Silent-Install-of-UF-in-Linux-Client-Machines/m-p/705273#M116665</link>
      <description>&lt;P&gt;To accept the license during the start, execute:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;opt/splunkforwarder/splunk start --accept-license&amp;nbsp;--answer-yes&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and before you start the forwarder service I suggest to create a user-seed.conf to set the admin password in clear text on the CLI.&lt;/P&gt;&lt;P&gt;user-seed.conf must be stored in&amp;nbsp;/&lt;SPAN&gt;opt/splunkforwarder&lt;/SPAN&gt;&lt;SPAN&gt;/etc/system/local/&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;[user_info]
USERNAME = admin&lt;BR /&gt;PASSWORD = YourPassword&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;another method is to hash the password and add the hash to the user-seed.conf. It is described in the following doc&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.3.2/Security/Secureyouradminaccount#Create_administrator_credentials_for_automated_installations_with_the_.27hash-passwd.27_CLI_command" target="_blank"&gt;Create secure administrator credentials - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 09:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Silent-Install-of-UF-in-Linux-Client-Machines/m-p/705273#M116665</guid>
      <dc:creator>PaulPanther</dc:creator>
      <dc:date>2024-11-26T09:09:29Z</dc:date>
    </item>
  </channel>
</rss>

