美文网首页
How To Reset Root Password On Ce

How To Reset Root Password On Ce

作者: SmalltalkVoice | 来源:发表于2024-12-16 09:25 被阅读0次

1 – In the Boot Grub Menu Select Option to Edit


image.png

2 – Select Option to edit (e)


image.png

3 – Go to the line of Linux 16 and change ro with “rw init=/sysroot/bin/sh”


image.png

4 – Now press “Control+x” to start on single user mode

image.png

5 – Now access the system with this command

chroot /sysroot

6 – Reset the password

passwd root

7 – Update selinux information

touch /.autorelabel

8 – Exit Chroot

exit

9 – Reboot your system

reboot

相关文章

网友评论

      本文标题:How To Reset Root Password On Ce

      本文链接:https://www.haomeiwen.com/subject/kfahejtx.html