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