用户管理
adduser chen 增加用户
passwd chen 用户重设密码
deluser chen --remove-home 删除用户
新用户添加sudo 权限
在原来用户登录:
sudo vi /etc/sudoers
# User privilege specification下面添加
root ALL=(ALL:ALL) ALL
chenlu ALL=(ALL:ALL) ALL
用户管理
adduser chen 增加用户
passwd chen 用户重设密码
deluser chen --remove-home 删除用户
新用户添加sudo 权限
在原来用户登录:
sudo vi /etc/sudoers
# User privilege specification下面添加
root ALL=(ALL:ALL) ALL
chenlu ALL=(ALL:ALL) ALL