How to create the root password in Linux in first booting | Linux Basic command

Linux some major operation will be done only by through root.
So you must have root password.

Command1: how to change root password
If you are login in root then only you can change root password


Type passwd root
Then it will ask you to type new password
Type the new password for 2 time
Then your password for root can successfully changed


How to create the root password in Linux in first booting | Linux Basic command


Related post