<?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 I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229349#M67370</link>
    <description />
    <pubDate>Mon, 28 Aug 2017 18:17:53 GMT</pubDate>
    <dc:creator>ansarifah</dc:creator>
    <dc:date>2017-08-28T18:17:53Z</dc:date>
    <item>
      <title>I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229349#M67370</link>
      <description />
      <pubDate>Mon, 28 Aug 2017 18:17:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229349#M67370</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2017-08-28T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229350#M67371</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3331/ansarifah.html" nodeid="3331"&gt;@ANSARI FAHEEM AHMED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You will need to run the "ambari-server setup" command again and then you need to choose the "Customize user account for ambari-server daemon" prompt, to proceed as root. If you want to create a different user to run the Ambari Server, or to assign a previously created user, select y at the Customize user account for ambari-server daemon prompt, then provide a user name.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;# sudo ambari-server setup
.
Customize user account for ambari-server daemon [y/n] (n)? y  
Enter user account for ambari-server daemon (root): ambari 
.&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;BR /&gt;If you are using views then you will need to also change the proxy user setting to the new user name:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Server: &lt;/STRONG&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-security/content/how_to_configure_ambari_server_for_non-root.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Agent:  &lt;/STRONG&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-security/content/how_to_configure_an_ambari_agent_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-security/content/how_to_configure_an_ambari_agent_for_non-root.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also if there are some directories that has the root:root permissions then you will need to change them accordingly. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# ls -l /var/run/ambari-server 
sudo chown -R ambari   root  /var/run/ambari-server 

# ls -l /var/run/ambari-agent 
sudo chown -R ambari   root  /var/run/ambari-agent &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:22:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229350#M67371</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-28T18:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229351#M67372</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/3331/ansarifah.html"&gt;@ANSARI FAHEEM AHMED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a  smooth method of giving Centos 7 user root privileges &lt;A target="_blank" href="https://www.liquidweb.com/kb/how-to-add-a-user-and-grant-root-privileges-on-centos-7/"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:27:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229351#M67372</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-08-28T18:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229352#M67373</link>
      <description>&lt;P&gt;Thanks for the reply, But I want to change ssh session. I am configured ssh with root account but now i have to change to Centos account. It's possible to change or not? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 22:39:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229352#M67373</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2017-08-28T22:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: I have successfully installed HDP and Ambari but I want to change ssh user. Now i do ssh via root but i want to change root to centos user.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229353#M67374</link>
      <description>&lt;P&gt;Thanks for the reply, But I want to change ssh session. I am configured ssh with root account but now i have to change to Centos account. It's possible to change or not?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 22:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-successfully-installed-HDP-and-Ambari-but-I-want-to/m-p/229353#M67374</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2017-08-28T22:39:40Z</dc:date>
    </item>
  </channel>
</rss>

