Sunday, December 11, 2016

How to reset password from VMware-work station ?


Below is your login screen and you forgot your password and would like to reset ? how can you do that ?


From below screen shot ,Right lower corner side you can see power option . when you click on power button  , you will get 2 options called restart and shutdown . 


click on Restart button as shown above . Once you click on restar server will  reboot. you can see in below screen .


Once you get the below boot prompt  press any key in your keyboard .


Once you press any key you get the below screen , Then after press key 'e'.  e is for edit .


Then you will get below screen .


Then scroll down to kernel with down arrow key in your key board . Then you can see below screen .


After that press key 'e' to edit and you will get below screen .



Then type word called "single " as below screen . simply enter space key and type single .


Then hit enter key . You will get below screen .After you get below screen  enter key 'b'. b for boot .


After you could see in below screen server is rebooting now .



Now you can see in below screen server went to single user mode .


Now you can change your password as shown in below screen . In below screen i changed password for root and linuxtechnotes  users .


Then run command called reboot  to boot the server .once its bootsup you will get login screen as first screen in this article.



###############################################################################

note :-   If   giving option as single didnt go to single user mode then  give try adding option   as init=/bin/bash instaed  single   to get command shell

Please do comment below for any queries , we will get back to you soon .


No comments:

Post a Comment