START UR COMPUTER
A) if u have ubuntu alongside windows then boot menu will appear otherwise press “shift” to make boot menu appear
B) select recovery mode..
C) now select “start root shell prompt“.
D) to access filesystem u need to mount it.
so type command
mount -o rw, remount /” or “mount -o remount /
“passwd username”
it will ask u for new password and to retype it.
F) if u dont know the username (if intention is to hack into pc)
just change ur directory to home
TYPE
1) cd /home
2)ls
this will list you usernames of current system.
“passwd username”
Congrats You just have changed password of user username
Advertisements
[…] If you are not getting correct password using this trial and error go for this simpler and faster … […]