set password to root ubuntu 20.04 code example Example: set password to root ubuntu 20.04 $ sudo -i $ passwd root new password:... confirm password:...