What do you someone breaks something? I post the solution here...

Kubernetes (K8s/K3d) / Terraform / Ansible / Linux / AWS / Docker / Bash / Python / ELK / CI/CD / Java / Traefik / Nginx / CentOs / Ubuntu


Reset forgotten password for Ubuntu 16.10 in less than 120sec





           Reset forgotten password for Ubuntu 16.10 in less than 120sec


  

            Do you think it is that easy to reset the forgotten password in less than 120 secs??
                   
                 I say, yes it is possible.You can try keeping timer by side, so lets break-in,time starts now


     Steps:
  1.     Get into the Grub and Go to recovery mode
  2.     
    Drop to root shell prompt
     and  Change the password
  3.     Sync and reboot the system 


       1. Get into the Grub and Go to recovery mode



   
 As you can see i am not able to login, so lets reboot the system

  


       After this make sure you are fast enough to enter to grub before it loads full Gui mode so            keep pressing        "esc"  key so that we can  enter in grub menu


      Select Advanced options for Ubuntu and hit Enter

       

     select the Ubuntu with recovery mode


         2. Drop to root shell prompt and  Change the password

          

       Select root  Drop to root shell prompt and lets change the password for the user we want to 
       and remount / with read and write permissions 



        


   As we can see the password is changed .now we are ready to go

    3. Sync and reboot the system 


    

Now try with your new passwod and Have fun !!!



    


  Have Good time with Ubuntu 16.10 .. the latest release of Ubuntu!!!
  Please do suggest improvements and keep posting questions 

   We are more than happy to  help 

Thank you !!!


 Happy Ubuntu 
       


2 comments:

Vijay Balaji said...

Hi Guys
If i want to create 2 docker instance in the same machine or in the same VM preferably Linux , and to give secured shell (ssh) connection and password less authentication. How can achieve this????

Shailesh Thakur said...

https://osgroup-techies.blogspot.in/2017/01/password-less-authentication-on-two.html

Powered by Blogger.