How To Reset Root Password On CentOS 7
The way
to reset the root password on centos7 is totally different to Centos 6. Let me
show you how to reset root password in CentOS 7.
4 – Now press Control+x to start on single user mode. |
5 – Now access the system with this command.
chroot /sysroot
6 –
Reset the password.
passwd root
7 –
Update selinux information
touch /.autorelabel
8 –
Exit chroot
exit
9 –
Reboot your system
reboot
That’s
it. Enjoy you .Root Password Now Reset.
BY:-Harihar Mishra(8400998404)
No comments:
Post a Comment