How to start hadoop without asking local machine password?
<pre><code>amtex@amtex-desktop:~$ start-all.sh
</code></pre>

<p>This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [localhost]</p>

<p>amtex@localhost's password: 
localhost: starting namenode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-namenode-amtex-desktop.out</p>

<pre><code>amtex@localhost's password: 
</code></pre>

<p>localhost: starting datanode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-datanode-amtex-desktop.out
Starting secondary namenodes [0.0.0.0]</p>

<pre><code>amtex@0.0.0.0's password:
</code></pre>

<p>0.0.0.0: starting secondarynamenode, logging to /home/amtex/Documents/installed/hadoop/logs/hadoop-amtex-secondarynamenode-amtex-desktop.out
starting yarn daemons
starting resourcemanager, logging to /home/amtex/Documents/installed/hadoop/logs/yarn-amtex-resourcemanager-amtex-desktop.out</p>

<pre><code>amtex@localhost's password:
</code></pre>

<p>localhost: starting nodemanager, logging to /home/amtex/Documents/installed/hadoop/logs/yarn-amtex-nodemanager-amtex-desktop.out</p>

<pre><code>amtex@amtex-desktop:~$ jps
2404 Startup
18244 DataNode
18580 ResourceManager
18101 NameNode
18889 NodeManager
18425 SecondaryNameNode
18924 Jps
</code></pre>