How to change root password in Ubuntu Linux

Originally published at: https://www.cyberciti.biz/faq/change-root-password-ubuntu-linux/

I am a new Ubuntu Linux server admin. How can I change root password in Ubuntu Linux server using the bash shell over ssh based session?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki