To modify a personal password:
Method 1:
Running at terminal
usrname@usrname-laptoppasswd:~ $passwd Usrname
Change Password to Usrname.
(current) UNIX password:< enter current password >
Enter new UNIX Password: < Enter new Password >
Re-enter the new UNIX password:< reenter the new password >
passwd: Password was updated successfully
(Note: The user name that needs to be modified is usrname)
Method 2:
Using menus
System-> Preferences-> personal information. Start the "About Usrname" dialog box, click the "Modify Password" button, enter the current password, click on the right "Authentication" button, verify successful, you can enter a new password.
Also note that the modified password should not be too short
Start the root account
1. After the terminal executes the sudo passwd root command, you will be prompted to set a new root account password.
2. Click the System (System)-> Preferences (Systems Management)-> login Window (login Desktop) menu and switch to the Security Options page, then select the Allow Local System Admi Nistrator Login (allow local system administrator to log on) option.
After two steps, you can use the root account to log into the Ubuntu system. If you want to disable the root account again, you can perform sudo passwd-l root