Linux root 密码重置与用户管理

---forget root password
restart your linux system
press 'e' when start.

press 'e' again
then choose kernel ..… item
add  space 1 or space single
then press 'b'
then passwd input new password

useradd name -g group -s /bin/sh
userdel name
usermod
passwd username

原文地址:https://www.cnblogs.com/huaxiaoyao/p/4751912.html