1.打开终端或者ssh输入sudo passwd -u root开启root账户

2.为root账户设置密码:sudo passwd root

3.在终端/ssh中输入 su root看看能不能登录root账户


WQZSのBlog Copyright © by wqzs.vip All Rights Reserved.