Root account problem
Ubuntu disabled the root account by default, so when attempting to switch to the root user using the SU root command, even though you have entered the correct password, the terminal will still prompt you for the wrong password. You need to execute the following command to unlock the root account
1. Open terminal (Dash Search terminal), enter sudo passwd root, enter your root password after carriage return
2. System prompts enter new UNIX password: Please enter your new password, return
3. The system prompts retype new UNIX password: Enter the password you just entered, enter
4. When prompted Passwd:password updated successfully, prove that your root has been unlocked, and later, if you want to get root privileges, just do the following:
Su Root
Password: (Enter the password you set above here)
5. If you want to disable the root account again, you can execute sudo passwd-l root
How Ubuntu switches to the root account