Linux serverNETWORK ADMINISTRATIONS

Breaking Root Password Centos 7

This is a short video explaining how to break the root password in Centos 7.
For this method, you will need physical access to the VM through Vsphere or VM Ware, or to the actual terminal of the physical machine.
1. Press when the machine boots up.
2. Go to the line Linux 16 edit out the words “rhgb quiet” replace them with the words rd. break.
3. press CTRL X to boot into recovery mode
4. Run the command ]# mount -o remount,rw /sysroot/
5. Run the command ]# chroot /sysroot/
6. Run the command ]# passwd (create new password)
7. Run the command ]# touch /.autorelabel
8. Run the command ]# exit
9. Run the command ]# exit or reboot
10. Login with your new password

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *