How to set a root password?

To set a password for the root user, you can use the following command:

sudo passwd root

You will be prompted to enter a new password twice. After entering the password, you should see a confirmation message indicating that the password has been updated successfully.

0 Comments

no data
Be the first to share your comment!