peter@ubuntu:~$ sudo passwd root
[sudo] password for peter:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
peter@ubuntu:~$ su
Password:
root@ubuntu:/home/peter#
peter@ubuntu:~$ sudo passwd root
[sudo] password for peter:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
peter@ubuntu:~$ su
Password:
root@ubuntu:/home/peter#