ลำดับขั้นตอนการกู้รหัส root
Bypass root
- ต่อจอ และสั่ง Ctrl + Alt + Delete เพื่อรีบูทเครื่อง
- จะเจอกับหน้า Grub
- กด e เพื่อแก้ไข โค้ดด้านใน แก้ไขในบรรทัด “ro”
- Change “ro” to “rw” and “add init=/sysroot/bin/sh”
rw init=/sysroot/bin/sh
Change root password
- In the single user mode, run the command as
chroot /sysroot
- Finally, run the commands
passwd root
to change the root password.then enterpassword
905 total views, 1 views today