So I am running Hadoop in pseudo distributed mode on my laptop, to learn about these things. 

I am setting the thing up as explained in the [manual](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html#Execution).

I can start hadoop, no problem, but the launch process is inconvenient. See, to launch the thing, one does:

```
start-dfs.sh

```

Then, one is prompted for password 3 times (in my case all three are the same):

```
Starting namenodes on [localhost]
me@localhost's password: 
localhost: starting namenode, logging to /home/me/hadoop-2.7.3/logs/hadoop-me-namenode-me-HP-ENVY-15-Notebook-PC.out
me@localhost's password: 
localhost: starting datanode, logging to /home/me/hadoop-2.7.3/logs/hadoop-me-datanode-me-HP-ENVY-15-Notebook-PC.out
Starting secondary namenodes [0.0.0.0]
me@0.0.0.0's password: 
0.0.0.0: starting secondarynamenode, logging to /home/me/hadoop-2.7.3/logs/hadoop-me-secondarynamenode-me-HP-ENVY-15-Notebook-PC.out

```

(and same when one does `stop-dfs.sh`).

This is a pain. Is there a way to have ubuntu remember that password so that one doesn't have to type it at all?