1、用root登錄,然後執行useradd –d userhome –g GID username。
2、比如:useradd –d /home/test –g 600 test test。
3、密碼設置執行passwd test。
4、輸入要為該新用户設置的密碼。
5、輸入確認密碼。