How to Reset Root Password On CentOS 7

Published: 14 September 2022
on channel: XAdmin
24
1

How to Reset Root Password On CentOS 7
Steps:

Step #1 In the boot grub menu select option to edit type "e"

Step #2 Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh

Step #3 Press Control+x to start the system in single user mode

Step #4 Access the system with this command
chroot /sysroot

Step #5 Reset the password with command
passwd

Step #6 Update selinux information
touch /.autorelabel

Step #7 Exit chroot
exit

Step #8 Reboot your system
reboot -f

That’s it.



how to recover root password in centos 7
how to reset root password for centos
how to reset root password in centos
how to reset root password in centos 7
how to reset root password on centos 7
how to reset root password of centos
how to reset the root password on centos
crack password centos


Watch video How to Reset Root Password On CentOS 7 online without registration, duration hours minute second in high quality. This video was added by user XAdmin 14 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 24 once and liked it 1 people.