Set password for root


Linux set root password

  1. command line

    sudo passwd root
  2. enter user’s password

  3. enter the root password that you want set

  4. reenter root password


Author: Liang Junyi
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Liang Junyi !
  TOC