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

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

问题描述

我刚刚在Google Cloud Engine的CentOS VM中安装了cPanel,cPanel说默认用户名是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

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

推荐答案

弄清楚了.默认情况下,云引擎中的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 passwd

sudo passwd

如果您正确执行了所有操作,则应该执行以下操作:

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 VM的root密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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