How to reset forgotten password in Linux (centos) system

I am struggling with how to write this title so that everyone can understand better. This does not apply to OpenVZ under the SolusVM management panel, nor does it apply to XEN, because with these two architectures, you forget to click on the root password directly in the background to reset it. . However, if you have a stand-alone server or KVM installed it step by step, what if you forget it? This article records solutions to similar problems.

Subscribe to Linuxforgot password