咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

如何设置centos7.x密码

2017-07-24 23:51:27 10293次

 1.重启

2 按键盘e键,来进入编辑界面

3 找到ro将ro改为rw init=/sysroot/bin/sh

4 现在按下 #Control+x ,使用单用户模式启动

5 执行命令#chroot /sysroot

6 重置密码 #passwd root

7 更新系统信息 #touch /.autorelabel

8 退出chroot

  #exit

9 重启


首页
最新活动
个人中心