gpt4 book ai didi

google-app-engine - 获取 Google Cloud Engine VM 的根密码

转载 作者:太空宇宙 更新时间:2023-11-03 15:17:30 24 4
gpt4 key购买 nike

我刚刚在 Google Cloud Engine 的 CentOS VM 中安装完 cPanel,cPanel 说默认用户名是 root,默认密码是服务器的 root 密码。

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 密码,因此您首先需要使用以下命令更改密码

sudo passwd

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

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

关于google-app-engine - 获取 Google Cloud Engine VM 的根密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35016795/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com