<?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 Reset root password on docker sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117236#M47022</link>
    <description>&lt;P&gt;I have changed the root password for docker sandbox which I have forgotten now. How can I reset it?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2016 03:15:59 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2016-11-23T03:15:59Z</dc:date>
    <item>
      <title>Reset root password on docker sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117236#M47022</link>
      <description>&lt;P&gt;I have changed the root password for docker sandbox which I have forgotten now. How can I reset it?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 03:15:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117236#M47022</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-11-23T03:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password on docker sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117237#M47023</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Follow the instructions in this article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://linuxconfig.org/recover-reset-forgotten-linux-root-password"&gt;https://linuxconfig.org/recover-reset-forgotten-linux-root-password&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you get to the step with the mount instruction use &lt;/P&gt;&lt;P&gt;mount -rw -o remount /-&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 03:23:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117237#M47023</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-11-23T03:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password on docker sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117238#M47024</link>
      <description>&lt;P&gt;sudo docker exec -i &amp;lt;container-id-or-name&amp;gt; passwd&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 06:22:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117238#M47024</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-11-23T06:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password on docker sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117239#M47025</link>
      <description>&lt;P&gt;Switch to virtualbox/vmware console :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13641-d0.png" style="width: 724px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23012i9378D88B9578A2CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13641-d0.png" alt="13641-d0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and logon to this console with username/password as root/hadoop (default)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13642-d1.png" style="width: 734px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23013iCF868533BECA1F4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13642-d1.png" alt="13642-d1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;on root prompt type &lt;/P&gt;&lt;P&gt;docker exec -i sandbox passwd and type the new password. as shown in this picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13643-d2.png" style="width: 722px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23014i2FE87B9CAE227CDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13643-d2.png" alt="13643-d2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now go to browser and access the shell with new password&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13644-d3.png" style="width: 1381px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23015iC8BE89C56D5BA3C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13644-d3.png" alt="13644-d3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or do ssh root@localhost -p 2222 and keyin new password set in above screen.&lt;/P&gt;&lt;P&gt;you can use putty from windows machine and run any hdfs command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13645-d4.png" style="width: 828px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23016i3CC271DEDC73DD6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13645-d4.png" alt="13645-d4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:50:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117239#M47025</guid>
      <dc:creator>76_subhasis</dc:creator>
      <dc:date>2019-08-19T10:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reset root password on docker sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117240#M47026</link>
      <description>&lt;P&gt;I have tried this command in 2.6 version unsuccessfully but successfully with "sandbox-hdp" container.&lt;/P&gt;&lt;P&gt;docker exec -i sandbox-hdp passwd&lt;/P&gt;&lt;P&gt;After introducing password twice you have to finish with ^C.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 02:14:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Reset-root-password-on-docker-sandbox/m-p/117240#M47026</guid>
      <dc:creator>emilio_sarabia</dc:creator>
      <dc:date>2018-02-02T02:14:39Z</dc:date>
    </item>
  </channel>
</rss>

