<?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: Install splunk as non root user in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62374#M997</link>
    <description>&lt;P&gt;In Linux one approach to setting up a splunk service account user is to do the nomal linux adduser command.&lt;/P&gt;

&lt;P&gt;Created a group "splunkadmins" and added the specific accounts to that group.&lt;BR /&gt;
In sudoers add these lines for splunkadmins.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;%splunkadmins    ALL=(splunk) NOPASSWD: ALL, !/bin/sh, !/bin/bash, !/sbin/nologin, !/bin/bash2, !/bin/ash, !/bin/bsh, !/bin/ksh, !/bin/tcsh, !/bin/csh, !/bin/zsh&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;%splunkadmins ALL=NOPASSWD:/sbin/service splunk *, /usr/sbin/tcpdump *&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The first allows anyone in the splunkadmins group to become the splunk user using sudo.&lt;BR /&gt;
The second is the ability for anyone in that group to restart the splunk service (or use tcpdump).&lt;/P&gt;

&lt;P&gt;As long ad you used enable boot-start with the user flag set to this splunk user you should be all set.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2014 01:32:01 GMT</pubDate>
    <dc:creator>mcronkrite</dc:creator>
    <dc:date>2014-07-02T01:32:01Z</dc:date>
    <item>
      <title>Install splunk as non root user</title>
      <link>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62372#M995</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I'm about to install the splunk header as non-root user in our environment and just read in the documentation that splunkuser should have access to /dev/urandom script in linux box which is owned by root&lt;/P&gt;

&lt;P&gt;I'm installing splunk as non-root user called a splunkusr and it is added to a group called splunkgrp.Do I have to do anything specifically to give access to /dev/urandom for splunkusr? or is it something splunk will manage to access /dev/urandom during inital startup?&lt;/P&gt;

&lt;P&gt;spluker_123&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 16:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62372#M995</guid>
      <dc:creator>splunker_123</dc:creator>
      <dc:date>2012-05-29T16:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Install splunk as non root user</title>
      <link>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62373#M996</link>
      <description>&lt;P&gt;Splunk does not take care of this - you need to do it in Linux. Signed in as root, you can change the permissions to the /dev/urandom script and any directories that you want Splunk to monitor (like /var/log). &lt;CODE&gt;chmod&lt;/CODE&gt; should be all that you need to do...&lt;/P&gt;

&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 18:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62373#M996</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-05-29T18:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Install splunk as non root user</title>
      <link>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62374#M997</link>
      <description>&lt;P&gt;In Linux one approach to setting up a splunk service account user is to do the nomal linux adduser command.&lt;/P&gt;

&lt;P&gt;Created a group "splunkadmins" and added the specific accounts to that group.&lt;BR /&gt;
In sudoers add these lines for splunkadmins.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;%splunkadmins    ALL=(splunk) NOPASSWD: ALL, !/bin/sh, !/bin/bash, !/sbin/nologin, !/bin/bash2, !/bin/ash, !/bin/bsh, !/bin/ksh, !/bin/tcsh, !/bin/csh, !/bin/zsh&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;%splunkadmins ALL=NOPASSWD:/sbin/service splunk *, /usr/sbin/tcpdump *&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The first allows anyone in the splunkadmins group to become the splunk user using sudo.&lt;BR /&gt;
The second is the ability for anyone in that group to restart the splunk service (or use tcpdump).&lt;/P&gt;

&lt;P&gt;As long ad you used enable boot-start with the user flag set to this splunk user you should be all set.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2014 01:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Install-splunk-as-non-root-user/m-p/62374#M997</guid>
      <dc:creator>mcronkrite</dc:creator>
      <dc:date>2014-07-02T01:32:01Z</dc:date>
    </item>
  </channel>
</rss>

