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