How to change root password?
This steps will help you changes a root password.
1. Press any key at the start menu while booting and screen show ‘CentOS…. loading’, you will see the GRUB
2. Hit ‘a’ to modify kernel arguments
3. Add ’single’ to the last line in grub append > ro root=/dev/VolGrouo00/LogVol100rhgb quite single, then enter. This will brings you to a single mode
4. Type passwd in a single mode bourne-again shell root prompt. For example, # passwd
5. Exit then reboot






Add a Comment