<?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 Does Splunk Forwarder need an interactive login? in Security</title>
    <link>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603476#M16187</link>
    <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed by default that Splunk Forwarder gives itself /bin/bash&amp;nbsp; in /etc/passwd.&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;splunk:x:1001:1001:Splunk Server:/opt/splunkforwarder:/bin/bash&lt;/PRE&gt;&lt;P&gt;I changed it to the below and restarted:&lt;/P&gt;&lt;PRE&gt;splunk:x:1001:1001:Splunk Server:/opt/splunkforwarder:/sbin/nologin&lt;/PRE&gt;&lt;P&gt;Best I can tell there was no impact. Scripted inputs are working as it the monitor stanza's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any reason I should leave Splunk user with a Shell?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 23:28:31 GMT</pubDate>
    <dc:creator>danielteachesit</dc:creator>
    <dc:date>2022-06-27T23:28:31Z</dc:date>
    <item>
      <title>Does Splunk Forwarder need an interactive login?</title>
      <link>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603476#M16187</link>
      <description>&lt;P&gt;All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed by default that Splunk Forwarder gives itself /bin/bash&amp;nbsp; in /etc/passwd.&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;splunk:x:1001:1001:Splunk Server:/opt/splunkforwarder:/bin/bash&lt;/PRE&gt;&lt;P&gt;I changed it to the below and restarted:&lt;/P&gt;&lt;PRE&gt;splunk:x:1001:1001:Splunk Server:/opt/splunkforwarder:/sbin/nologin&lt;/PRE&gt;&lt;P&gt;Best I can tell there was no impact. Scripted inputs are working as it the monitor stanza's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any reason I should leave Splunk user with a Shell?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 23:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603476#M16187</guid>
      <dc:creator>danielteachesit</dc:creator>
      <dc:date>2022-06-27T23:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk Forwarder need an interactive login?</title>
      <link>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603481#M16188</link>
      <description>&lt;P&gt;There is no need for the Splunk account to have a shell assigned to it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 00:12:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603481#M16188</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-06-28T00:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk Forwarder need an interactive login?</title>
      <link>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603504#M16189</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247240"&gt;@danielteachesit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the splunk user, assigned as owner to Splunk Universal Forwarders, doesn't need the Linux shell.&lt;/P&gt;&lt;P&gt;I usually disable it in my production installation.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 06:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603504#M16189</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-28T06:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Does Splunk Forwarder need an interactive login?</title>
      <link>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603582#M16190</link>
      <description>&lt;P&gt;You should also lock splunk user not only set shell to nologin. If/when need to use e.g. btool to check what those configurations are, just use "sudo -usplunk bash" command to get shell.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 12:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Does-Splunk-Forwarder-need-an-interactive-login/m-p/603582#M16190</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-06-28T12:03:45Z</dc:date>
    </item>
  </channel>
</rss>

