linux! Set the root user in Ubuntu

| - Set password to the root user and use

  |--1. sudo passwd

      Enter the general user's password and set the root password

  |. --2 set the root password su command is successful, and enter the root password you just set, you can switch the root

  |. --3 type exit to exit root user and return to the general

  

Guess you like

Origin www.cnblogs.com/xuzhaoping/p/10947435.html