default password root ubuntu 18.04 code example Example: default root password ubuntu 18.04 $ sudo passwd