Ubuntu root default password (initial password)

After ubuntu is installed, the root initial password (default password) is unknown and needs to be set.

1. First log in to the system with the user at the time of installation

2. Input: sudo passwd and press Enter

3. Enter the new password, enter the password repeatedly, and finally prompt passwd: password updated sucessfully

At this point, the root password has been set

4. Input: su root

Try switching user to root.....

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324782066&siteId=291194637