<?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>question Re: Configuring IP Tables for Ambari Installation on CentOS, Access Denied in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181434#M77804</link>
    <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/75243/m-okulik.html"&gt;Michael O&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The problem is clearly a permission issue  "Access Denied"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The AWS user is usually ec2-user or ubuntu &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;To add a temporary password to a root user:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.Connect to your EC2 instance running Linux by using SSH.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Assume root user permissions by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;$ sudo su&amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;3. Create a password for the root user by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;# passwd root &amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;4. When prompted, enter your temporary root password, and then enter it again to confirm it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: You must run this command as the root user.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;After you complete the task, delete the root password by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;# passwd –d root&amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Apr 2018 03:06:39 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-04-29T03:06:39Z</dc:date>
    <item>
      <title>Configuring IP Tables for Ambari Installation on CentOS, Access Denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181433#M77803</link>
      <description>&lt;P&gt;Hi Everyone, I am installing HDP2.6.0.0 onto a 3 node AWS cluster running CentOS Linux 7 x86_64 HVM EBS 1704_01.&lt;/P&gt;&lt;P&gt;Got stuck on Configuring iptables step in the manual &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/configuring_iptables.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/configuring_iptables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;P&gt;$ sudo systemctl disable firewalld&lt;/P&gt;&lt;P&gt;Failed to execute operation: Access denied&lt;/P&gt;&lt;P&gt;Also tried this (same w/out sudo):&lt;/P&gt;&lt;P&gt;$ systemctl disable firewalld&lt;/P&gt;&lt;P&gt;==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===&lt;/P&gt;&lt;P&gt;Authentication is required to manage system service or unit files.&lt;/P&gt;&lt;P&gt;Authenticating as: Cloud User (centos)&lt;/P&gt;&lt;P&gt;Password:&lt;/P&gt;&lt;P&gt;==== AUTHENTICATION COMPLETE ===&lt;/P&gt;&lt;P&gt;Failed to execute operation: Access denied&lt;/P&gt;&lt;P&gt;Any idea why is it access denied? What is the right way to do this step?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 02:12:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181433#M77803</guid>
      <dc:creator>m_okulik</dc:creator>
      <dc:date>2018-04-29T02:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring IP Tables for Ambari Installation on CentOS, Access Denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181434#M77804</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/75243/m-okulik.html"&gt;Michael O&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The problem is clearly a permission issue  "Access Denied"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The AWS user is usually ec2-user or ubuntu &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;To add a temporary password to a root user:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.Connect to your EC2 instance running Linux by using SSH.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Assume root user permissions by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;$ sudo su&amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;3. Create a password for the root user by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;# passwd root &amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;4. When prompted, enter your temporary root password, and then enter it again to confirm it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: You must run this command as the root user.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;After you complete the task, delete the root password by running the following command:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;em&amp;gt;# passwd –d root&amp;lt;/em&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 03:06:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181434#M77804</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-29T03:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring IP Tables for Ambari Installation on CentOS, Access Denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181435#M77805</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt; found the solution. Firewalld was not installed on the image I am using. &lt;/P&gt;&lt;P&gt;After running the command from this link, everything worked. It was not the permissions issue, firewalld was not on the image. Centos has an unclear way of explaining this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs-old.fedoraproject.org/en-US/Fedora/19/html/Security_Guide/sec-Check_if_firewalld_is_installed.html" target="_blank"&gt;https://docs-old.fedoraproject.org/en-US/Fedora/19/html/Security_Guide/sec-Check_if_firewalld_is_installed.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking a look at this.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 09:27:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-IP-Tables-for-Ambari-Installation-on-CentOS/m-p/181435#M77805</guid>
      <dc:creator>m_okulik</dc:creator>
      <dc:date>2018-04-30T09:27:21Z</dc:date>
    </item>
  </channel>
</rss>

