获取 Google Cloud Engine 虚拟机的 root 密码 [英] Get root password for Google Cloud Engine VM

查看:31
本文介绍了获取 Google Cloud Engine 虚拟机的 root 密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在 Google Cloud Engine 的 CentOS 虚拟机中安装了 cPanel,cPanel 说默认用户名是 root,默认密码是服务器的 root 密码.

I just finished installing cPanel in a CentOS VM in Google Cloud Engine and cPanel said the default username is root and the default password is the server's root password.

2016-01-26 12:02:52  958 ( INFO): 3. Enter the word root in the Username text box
2016-01-26 12:02:52  958 ( INFO): 
2016-01-26 12:02:52  958 ( INFO): 4. Enter your root password in the Password text box
2016-01-26 12:02:52  958 ( INFO): 
2016-01-26 12:02:52  958 ( INFO): 5. Click the Login button

如何获取服务器的root密码?

推荐答案

想通了.默认情况下,云引擎中的 VM 没有设置 root 密码,因此您首先需要使用

Figured it out. The VM's in cloud engine don't come with a root password setup by default so you'll first need to change the password using

sudo 密码

如果你做的一切都正确,它应该是这样的:

If you do everything correctly, it should do something like this:

user@server[~]# sudo passwd
Changing password for user root.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.

这篇关于获取 Google Cloud Engine 虚拟机的 root 密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆