<?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: Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207169#M40882</link>
    <description>&lt;P&gt;Hi Chawagon03,&lt;/P&gt;

&lt;P&gt;The splunk user is just like any other user on the LINUX system, so, assuming you're using local authentication, you need to set a local password for the "splunk" user.   As the root user (or a system user with appropriate sudo permissions), simply use the "passwd splunk" command and set a password. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@fwdr:~# passwd splunk
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@fwdr:~#
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 21:24:09 GMT</pubDate>
    <dc:creator>gcato</dc:creator>
    <dc:date>2015-09-08T21:24:09Z</dc:date>
    <item>
      <title>Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207168#M40881</link>
      <description>&lt;P&gt;So I installed Splunk Universal Forwarder using the rpm file provided by Splunk. When I run the given commands rpm -i &amp;lt;splunk&amp;gt;.rpm as root, it installs just fine. But when I try to do 'su - splunk' to switch to the user, it asks for a password. What is this password?!?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 20:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207168#M40881</guid>
      <dc:creator>chawagon03</dc:creator>
      <dc:date>2015-09-08T20:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207169#M40882</link>
      <description>&lt;P&gt;Hi Chawagon03,&lt;/P&gt;

&lt;P&gt;The splunk user is just like any other user on the LINUX system, so, assuming you're using local authentication, you need to set a local password for the "splunk" user.   As the root user (or a system user with appropriate sudo permissions), simply use the "passwd splunk" command and set a password. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@fwdr:~# passwd splunk
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@fwdr:~#
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 21:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207169#M40882</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-09-08T21:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207170#M40883</link>
      <description>&lt;P&gt;The splunk account will be automatically created during the install.  Ideally it should not be a login account, and thus should not have a valid password.  Anyone with superuser privileges can su to another account without password access.  The best way to achieve that for a normal user is &lt;CODE&gt;sudo&lt;/CODE&gt; (.i.e. as you &lt;CODE&gt;sudo su - splunk&lt;/CODE&gt;).  If depending on how sudo has been set up for your account you may be prompted for a password (which will explicitly be your own current password), or you may be granted unauthenticated rights to perform specific limited or all commands through sudo.&lt;/P&gt;

&lt;P&gt;The downside is that it will not be setup for users by default, but it is the accepted "correct" way to perform administrative tasks.  Logging in as "root" should only be a last resort.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 22:05:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207170#M40883</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2015-09-08T22:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207171#M40884</link>
      <description>&lt;P&gt;I have to disagree with this.  Although you can assign it a password, you should not.&lt;/P&gt;

&lt;P&gt;Since splunk services run as &lt;CODE&gt;root&lt;/CODE&gt; on bootup, the splunk account should not be provided with a login password, and limited su access should be through su-enabled accounts (with &lt;CODE&gt;sudo&lt;/CODE&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 22:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207171#M40884</guid>
      <dc:creator>grijhwani</dc:creator>
      <dc:date>2015-09-08T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Installing a universal forwarder using the rpm file, what is the password it's asking for when switching users?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207172#M40885</link>
      <description>&lt;P&gt;I can't argue with that and agree your answer is best practise. I guess it all depends on the use case, environment and risk profile that chawagon03 is working with on the approach to take.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 22:51:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-a-universal-forwarder-using-the-rpm-file-what-is-the/m-p/207172#M40885</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-09-08T22:51:39Z</dc:date>
    </item>
  </channel>
</rss>

