I went to the company for an internship Today. the company assigned me an old computer with a dual system (XP and Ubuntu) installed on the computer. the user name and password are required for the Ubuntu system to start up. what should I do? Label: Ubuntu
I went to the company for an internship Today. the company assigned me an old computer with a dual system (XP and Ubuntu) installed on my computer. what should I do if I need a user name and password to start the Ubuntu system? (I figured out that the employee who used the computer must have left the company. I still want to solve it myself.) I finally found a way to change the user name and password on the Internet. As follows:
(1) first Restart the system (there is an option in the drop-down list in the upper right corner)
(2) Press Shift until the following menu appears. Select recovery mode, that is, recovery mode.
(3) the following page is displayed. select Drop to root shell prompt to obtain the root permission.
(4) enter cat/etc/shadow in the following # to view the user name (if you forget the user name)
(5) press passwd "yulongsheng" and then press the password twice.
(6) restart the system.
OK.
Other netizens added:
1. restart, press ESC to enter the Boot Menu, and select recovery mode (generally the second option ).
2. run cat/etc/shadow at the # prompt to check the user name.
3. enter passwd "user name" (which must be enclosed in quotation marks ).
4. enter a new password.
5. restart and log on with the new password.