天天看点

关于用户的操作:添加用户,删除用户,更改用户属性

添加用户:pw useradd username 或 adduser 根据提示做

删除用户:pw userdel username

更改属性:pw usermod -s /bin/sh -n username

使普通用户可以su root成为root权限,将用户加入wheel组:

vim /etc/group 

wheel:*:0:root,hongjun