How To Reset Root Password On Ce
2024-12-16 本文已影响0人
SmalltalkVoice
1 – In the Boot Grub Menu Select Option to Edit
![](https://img.haomeiwen.com/i69656/2fa392b2aa700dba.png)
2 – Select Option to edit (e)
![](https://img.haomeiwen.com/i69656/edd33f9a405611db.png)
3 – Go to the line of Linux 16 and change ro with “rw init=/sysroot/bin/sh”
![](https://img.haomeiwen.com/i69656/71b9534b94f987be.png)
4 – Now press “Control+x” to start on single user mode
![](https://img.haomeiwen.com/i69656/75f2ec62dc503a88.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