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.
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
Step 5: To resume the initialization and finish the system boot.
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.
You may reading link below :
- awk useful commands examples
- CentOS/RHEL Use yum Command To Downgrade Upgrade or Rollback Updates
- Generate and Verify Files with MD5 Checksum in Linux
- use inotify-tools on centos
Step 1: Start the system, on Grub 2 boot screen, you press the e key 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
passwd
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.
This comment has been removed by the author.
ReplyDelete