How to break root password on centos 7

Опубликовано: 26 Июнь 2020
на канале: Technical Skills Linux
3,991
34

In this video shows resetting the Root Password in CentOS 7 | Break root password | Change root password on Redhat

Step:-

Step 1: Alt + Ctrl+Delete [For reset ]

Step 2: e [type]

Step 3 : go end of line

Step 4: rd.break

Step 5: Ctrl + x

Step 6: mount -o remount,rw /sysroot/

Step 7: chroot /sysroot/

Step 8: passwd root

[type new password, again type new password]

Step 9: touch /.autorelabel

Step 10: exit

Step 11: exit

Now try to log-in, new password as root


Thank you for watching