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