创建hadoop的用户以及组, 组hadoop, 用户名hduser, 密码hduser
root@hm1:~# addgroup hadoop
Adding group `hadoop' (GID 1001) ...
Done.
root@hm1:~# adduser --ingroup hadoop hduser
Adding user `hduser' ...
Adding new user `hduser' (1001) with group `hadoop' ...
Creating home directory `/home/hduser' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for hduser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y