我们装完Ubuntu20.04之后,就需要设置下root用户的密码。
先看看这张图,这是实际操作流程。
具体操作如下:
sudo passwd
su root
密码验证通过后就切换到了root用户了!