How to reset root password in CentOS 7 using emergency mode

Опубликовано: 28 Сентябрь 2024
на канале: ServerOK
3,879
22

In this video, we will reset the root password on a CentOS 7 server using emergency mode.

To do this, you need console access to the server. Most cloud providers and virtualization software provide console access to the server.

You can see the instructions at

https://serverok.in/how-to-reset-cent...

00:00:19 reboot server
00:00:24 grub menu
00:00:45 edit grub boot configuration
00:01:21 CentOS 7 emergency mode
00:01:48 remount file system in rw mode
00:02:10 change root password