Change UBUNTU Password without Logging in

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

1) cd /home 


this will list you  usernames of current system.

“passwd username”

Congrats You just have changed password of user  username


One comment

Leave a Reply

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

You are commenting using your 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