How to enable linux root access on Microsoft Azure Cloud

1. Login via ssh using your sudo user on your Microsoft Azure linux server

2. Now login as root user

[root@lin ~]# sudo su -

3. check if root access is set (LOCK means that root access is disabled)

[root@lin ~]# grep root /etc/shadow


4. enable root access  (as root user enter command passwd)

[root@lin ~]# passwd

5. Now enter your password and root access is enabled.

You can check this by using command “grep root /etc/shadow”

That’s all folks


Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!