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