Reset Password
Start your host with pressing button " shift ", do not release until the screen displays " GRUB Loading...".
Choose second option " Advanced options for Ubuntu ".
Move your cursor to the newest version Ubuntu and then press " e ".
Change " ro " to " rw ", and then press <ctrl + c> or F10 to reboot.
Change Root Password
Typing command : " passwd " for changing root password.
Change User Password
Typing command : " passwd username " for changing user password.
Change Host NamePreparation
Preparation
Vim Editor should had been installed into your host.
If not, please type the following command : sudo apt-get install vim. Then you need to input your password.
Get the root authorization
su root
You will get the authorization for root.
Change hostname
vim /etc/hostname
using vim rule to edit hostname.
Change host
vim /etc/hosts
127.0.0.1 localhost new_hostname.