some how you get lost your password. Then, I can not remember what your password is. you can reset your password.
Step1: restart your ubuntu and hold shift key until the boot screen appears.
Step2: choose the generic second boot option
Step3: the new screen appears, choose "Drop into root shell prompt"
Step4: run below command:
>> mount -rw -o remount /
Step5: run below command to create new root password
>> sudo passwd root
If you see some error like:
passwd: Authentication token manipulation error
passwd: password unchanged
This means that you did not run the command at step 4. If so, try to run the command at step 4 and then command at step 5.
--
Lấy lại password trong ubuntu dùng virtualbox. Theo các bước ở trên
Step1: restart your ubuntu and hold shift key until the boot screen appears.
Step2: choose the generic second boot option
Step3: the new screen appears, choose "Drop into root shell prompt"
Step4: run below command:
>> mount -rw -o remount /
Step5: run below command to create new root password
>> sudo passwd root
If you see some error like:
passwd: Authentication token manipulation error
passwd: password unchanged
This means that you did not run the command at step 4. If so, try to run the command at step 4 and then command at step 5.
--
Lấy lại password trong ubuntu dùng virtualbox. Theo các bước ở trên