<?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: Starting splunk as non root user in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259323#M429</link>
    <description>&lt;P&gt;Just please keep in mind that the purpose of &lt;CODE&gt;splunk enable boot-start -user splunk&lt;/CODE&gt;is to create the automatic server boot start commands for Splunk.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 19:51:17 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2017-01-27T19:51:17Z</dc:date>
    <item>
      <title>Starting splunk as non root user</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259321#M427</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Looks like this question has been asked numerous times but I'm not seeing same issue as what I have. On Suse Linux 11.4 I have installed the forwarder but I cannot get it to start under splunk user using the startup scripts under inittab. I ran the "splunk enable boot-start -user splunk" command as root. It seems to just create an init.d file with no splunk user references so when the server reboots it again starts as root.&lt;BR /&gt;
What is supposed to change in this file ? I tried adding the -user splunk param to below line but just hangs.&lt;/P&gt;

&lt;P&gt;splunk_start() {&lt;BR /&gt;
 echo Starting Splunk...&lt;BR /&gt;
 "/opt/splunkforwarder/bin/splunk" start --no-prompt --answer-yes&lt;BR /&gt;
 RETVAL=$?&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 01:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259321#M427</guid>
      <dc:creator>stevenm1</dc:creator>
      <dc:date>2017-01-25T01:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Starting splunk as non root user</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259322#M428</link>
      <description>&lt;P&gt;Are you talking about Suse Linux Enterprise Server? I would change the following line&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "/opt/splunkforwarder/bin/splunk" start --no-prompt --answer-yes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;into this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo -u splunk -c '/opt/splunkforwarder/bin/splunk start'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;IIRC, that's how I used to create my startup scripts in /etc/init.d with SLES11 and SLES12.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 16:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259322#M428</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2017-01-27T16:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Starting splunk as non root user</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259323#M429</link>
      <description>&lt;P&gt;Just please keep in mind that the purpose of &lt;CODE&gt;splunk enable boot-start -user splunk&lt;/CODE&gt;is to create the automatic server boot start commands for Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 19:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Starting-splunk-as-non-root-user/m-p/259323#M429</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-01-27T19:51:17Z</dc:date>
    </item>
  </channel>
</rss>

