CentOS 7 : https://www.tecmint.com/reset-forgotten-root-password-in-centos-7-rhel-7/