How to reset root password on centos 7

Many methods to reset root password centos 7. if GRUB 2 bootloader then no longer using in single-user mode as well as emergency mode. To below step by step to reset root password centos 7.

You may reading link below :

Step 1: Start the system, on Grub 2 boot screen, you press the e key as shown below.

Step 2: In linux16 line or linuxefi on UEFI system, add parameters end line as shown below.
rw init=/bin/bash

Using Ctrl+A press or Ctrl+E press to start or end a line.
Disable paramenters the rhgb and quiet in order to enable system message as shown top.
Step 3: you press Ctrl+x to start single user mode

Step 4: update selinux information
touch /.autorelabel

Step 5: To resume the initialization and finish the system boot.
exec /sbin/init

Video how to reset root password on centos 7
My Channel: youtube
In linux and unix-like operating system, Reset root password centos 7 useful to administrator when you forgotten root password, you can recover very easy.


Post a Comment

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6