windos azure 虚拟机启用root 权限

使用putty等SSH客户端软件登陆后,输入 sudo passwd root 命令,输入用户名和密码,然后创建root 密码。

普通用户切换 root 权限,使用 su- 命令,输入root 密码,即可拥有 root 权限。

已禁用评论。