Administrator
|
Please send me the screenshot of the error..
Normally, you change the root password by connecting with root and issuing passwd command.
Maybe someone else changed it once again, after you changed it..
In the worst case, you can reset it using the approach below;
Reboot and wait for the GRUB (bootloader) screen to appear
Highlight the kernel version you're currently using from the GRUB list
Press "e" to be taken to the boot commands edit screen, highlight the line which starts with kernel and press "e" again
Add "single" to the end of the line -> kernel /vmlinuz-kernel-version ro root=LABEL=/ rhgb quiet single
Press "Enter" (save the changes)
Press "b" to boot in single user mode
You will find yourself in a root shell where you can change the password of the root using passwd command.
While setting the root password, ensure you are aligned with the password policy of yours (if you have one ofcourse)
|