Enable linux root access on Microsoft Azure Cloud
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
1 Lines
[root@mohan ~]# sudo su –
3. check if root access is set (LOCK means that root access is disabled)
1 Lines
[root@mohan ~]# grep root /etc/shadow
Result:
root:*LOCK*:14600::::::
4. enable root access (as root user enter command passwd)
1 Lines
[root@mohan ~]# 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
1. Login via ssh using your sudo user
2. Now login as root user
Code: [Select]
sudo su –
3. check if root access is set (LOCK means that root access is disabled)
Code: [Select]
[root@Linux ~]# grep root /etc/shadow
root:*LOCK*:14600::::::
4. enable root access (as root user enter command passwd)
Code: [Select]
[root@Linux ~]# passwd
now enter your password and root access is enabled, you can check this by using command “grep root /etc/shadow”
Recent Comments