1.启用admin和修改adim密码
sudo -i //切换到root
synouser --enum //查看用户情况
synouser --get admin //查看admin信息
synouser --modify admin default 0 abc123@qq.com //取消admin禁用状态
synouser --get admin //查看admin信息
synouser --setpw admin 123456789 //修改admin密码
2.启用root账户
sudo -i
sed -ri 's/^#(PermitRootLogin).*/\1 yes/g' /etc/ssh/sshd_config
sed -ri 's/^(PermitRootLogin).*/\1 yes/g' /etc/ssh/sshd_config
sed -ri 's/^#(LoginGraceTime).*/\1 2m/g' /etc/ssh/sshd_config
synouser --setpw root 123456789
systemctl restart sshd