<?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 Run Splunk under splunk user instead of root in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346665#M5440</link>
    <description>&lt;P&gt;Currently my environment using splunk as root user, I want to  Run Splunk under splunk user instead of root and run splunk web on 8443.&lt;BR /&gt;
What is the procedure to implement the same and what will be the impact?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 05:21:15 GMT</pubDate>
    <dc:creator>vin02</dc:creator>
    <dc:date>2017-08-03T05:21:15Z</dc:date>
    <item>
      <title>Run Splunk under splunk user instead of root</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346665#M5440</link>
      <description>&lt;P&gt;Currently my environment using splunk as root user, I want to  Run Splunk under splunk user instead of root and run splunk web on 8443.&lt;BR /&gt;
What is the procedure to implement the same and what will be the impact?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 05:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346665#M5440</guid>
      <dc:creator>vin02</dc:creator>
      <dc:date>2017-08-03T05:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Run Splunk under splunk user instead of root</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346666#M5441</link>
      <description>&lt;P&gt;You probably want to set your SPLUNK_OS_USER in the /opt/splunk/etc/splunk-launch.conf file:&lt;BR /&gt;
     # If SPLUNK_OS_USER is set, then Splunk service will only start&lt;BR /&gt;
     # if the 'splunk [re]start [splunkd]' command is invoked by a user who&lt;BR /&gt;
     # is, or can effectively become via setuid(2), $SPLUNK_OS_USER.&lt;BR /&gt;
     # (This setting can be specified as username or as UID.)&lt;BR /&gt;
     #&lt;BR /&gt;
     # SPLUNK_OS_USER&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SPLUNK_OS_USER=splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;First you will need to re-own the files back to the splunk user in your installation directory.&lt;/P&gt;

&lt;P&gt;The limitations would be:&lt;BR /&gt;
ulimits may be set differently for the splunk user (this can of course be changed for the splunk user)&lt;BR /&gt;
You cannot listen on a privileged port number below 1024&lt;/P&gt;

&lt;P&gt;I've never found either of these items to be an issue, if you need a syslog listener on port 514 for example you can run  that as a separate process which runs as root...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346666#M5441</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-09-29T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run Splunk under splunk user instead of root</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346667#M5442</link>
      <description>&lt;P&gt;How to use iptables prerouting to forward request coming on port 443 to port 8443?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Run-Splunk-under-splunk-user-instead-of-root/m-p/346667#M5442</guid>
      <dc:creator>vin02</dc:creator>
      <dc:date>2017-08-03T11:35:20Z</dc:date>
    </item>
  </channel>
</rss>

