首先进入属于管理员admin组的用户$sudo passwd -u root //启用root$sudo passwd -l root //锁定root 转载于:https://blog.51cto.com/jin771998569/1056512