Created
December 13, 2018 05:47
-
-
Save sunzcdev/8e5d6cb729f36a57f970869bfbd160e9 to your computer and use it in GitHub Desktop.
添加hduser用户
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groupadd hadoop | |
useradd -s /bin/bash -d /home/hduser -m hduser -g hadoop | |
passwd hduser | |
adduser hduser sudo | |
su hduser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment