lizzy是我们新建的用户
添加lizzy到work中:
Now to add the user lizzy to the work group with the following command:
cat etc/group
grep出hadoop用户组:
cat etc/group |grep hadoop
hadoop:x:1000:hadoop
添加用户:
add another user ash.
Also set password for ash.
Linux CentOS 8 添加用户到组中 Add User to Group
原文:https://www.cnblogs.com/watermarks/p/12936665.html