Changing the root password in Linux
For security reasons, it's recommended as a good practice to
always change the default root password. This would not prevent a malicious
user obtaining access to our system, but surely will make things harder.
How to do it...
To change the default
root password, just issue the following command:
passwd
Enter you new password and press Enter.
You will also be asked to retype your password: