Change UBUNTU Password without Logging in


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..

ubunu1


C) now select “start root shell prompt“.

ubutnu2

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

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s