Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to resert root paswd

Tony007Feb 27 2020 — edited Feb 27 2020

hi is there a way to recover root pswd

i try this but i must be root to do this

  1. mount -n -o remount,rw /
  2. passwd root.
  3. passwd username.
  4. exec /sbin/init.
  5. sudo su.
  6. fdisk -l.
  7. mkdir /mnt/recover mount /dev/sda1 /mnt/recover.
  8. chroot /mnt/recover.
This post has been answered by Dude! on Feb 27 2020
Jump to Answer
Comments
Post Details
Added on Feb 27 2020
10 comments
7,418 views