Google cloud platform 根帐户已锁定GCP VM实例

Google cloud platform 根帐户已锁定GCP VM实例,google-cloud-platform,virtual-machine,instance,Google Cloud Platform,Virtual Machine,Instance,我已从GCP VM实例锁定在外部。当我连接ssh时,我得到: 错误:(gcloud.compute.ssh)[/usr/bin/ssh]退出,返回代码为[255] 当我连接串行控制台时: You are in emerg Cannot open access to console, the root account is locked. See sulogin(8) man page for more details. 我已经将磁盘装载到另一个VM实例。 你知道我应该做些什么来再次访问它吗 提

我已从GCP VM实例锁定在外部。当我连接ssh时,我得到:
错误:(gcloud.compute.ssh)[/usr/bin/ssh]退出,返回代码为[255]

当我连接串行控制台时:

You are in emerg
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
我已经将磁盘装载到另一个VM实例。 你知道我应该做些什么来再次访问它吗


提前感谢。

我建议您使用a登录或在a中使用您的磁盘

我是否应该创建一个inittab并在其中写入sulogin?问题,为什么您的根帐户可以访问?@Stap7您如何连接到该实例?为什么是根?