林博仁 Buo-ren Lin says to Ubuntu 台灣社群
You can also boot the system into a Live OS(e.g. a installation media of Ubuntu desktop), mount the CentOS root filesystem, then edit its /etc/shadow configuration file to replace the password hash to a new one, ask ChatGPT for the specific utilities for doing so.