天天看點

關于使用者的操作:添加使用者,删除使用者,更改使用者屬性

添加使用者: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