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


How to Login as a Root on Azure VMs in just two simple commands


1)Login as the user which is created while creating VM on Azure portal


2)execute the command sudo passwd root

 3)Enter the password of the sudo user for example praj is the sudo user so enter the password of that user


4)then change the password for root

5) do exit from the sudo user and try login as a root as shown in figure 

6) enjoy the root access all time by doing these steps




No comments:

Powered by Blogger.