How to set root password?

QuestionsQuestions8 SkillsProYour First Linux LabAug, 12 2025
0249

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 for the root user. After entering the password, you will need to confirm it by entering it again. Once completed, the root password will be set.

0 Comments

no data
Be the first to share your comment!