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
"make all
Cannot run program "make": Launching failed
Error: Program "make" not found in PATH"
Then, you can fix it by including the makefile program path into environment variable PATH.
The fix can be as below:
Step1: if you have not had makefile on your computer yet, then you can install: MinGW_Toolchains.
It can be downloaded from:
http://sourceforge.net/projects/mingw-w64/files/latest/download?source=files
Step2: Assuming that you had installed MinGW_Toolchains into drive C, now you can add the path: C:\MinGW_Toolchains\mingw64\bin into your PATH variable environment.
You can update this PATH variable environment via Eclipse as below:
From Eclipse: Window --> Preferences --> C/C++ --> Environment
Variable PATH will be there, then you can update the PATH similarly as following: