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
Note: reset root password centos 7
Using Ctrl+A or Ctrl+E 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
# passwordStep 4: update selinux information
#touch /.autorelabelStep 5: To resume the initialization and finish the system boot.
#exec /sbin/init
Link Youtube how to reset root password on centos 7
*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.
Copyright by: www.linuxoperatingsystem.info http://goo.gl/kMscJ4
0 comments:
Post a Comment