How to set the password of the root user on a newly installed Ubuntu

1. After entering the sudo passwdcommand in the terminal , there will be a prompt to enter the password of the currently logged in user. After entering the password, the root user's password will be set

Insert picture description here
Supplement:
When you want to modify the password of an ordinary user, you can use the passwdcommand
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_44933518/article/details/105717931