1、
建立用户。在/etc/passwd中进行添加操作。使用nano/etc/passwd进行编辑。比如录入用户名:hive,userid:5000,groupid:5000,其他组:test0430。格式hive:x(密码占位):5000:5000:HIVE(comment):/home/hive:bin/bash.
nano /etc/passwd
2、
建立组。在/etc/group中进行组添加操作。使用nano /etc/group 进行编辑。例如:hive:x(密码占位):5000: test0430:x:500:jiqingrong,hive。
nano /etc/group