AZURE Linux ROOT 权限 开启和设置

官方文档
https://azure.microsoft.com/en-gb/documentation/articles/virtual-machines-linux-use-root-privileges/

教程
How to enable root access on Microsoft Azure Cloud.

1. Login via ssh using your sudo user
2. Now login as root user

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

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

now enter your password and root access is enabled, you can check this by using command “grep root /etc/shadow”

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注