更改Amazon EC2的cPanel root密码

时间:2023-01-26 12:56:04

I was configuring cPanel in a Amazon EC2 CentOS server. I was able to reach the login screen of WHM by using https://ipaddress:2087. But I can't enter inside it. I tried all my root and other user passwords.

我在Amazon EC2 CentOS服务器中配置cPanel。我可以使用https:// ipaddress:2087到达WHM的登录屏幕。但我不能进入它里面。我尝试了所有root和其他用户密码。

Is there any different configurations like "/usr/libexec/webmin/changepass.pl /etc/webmin root password" of Webmin, specific for cPanel?

Or is there any recommended method to install cPanel? I am ready to start other server and perform as CentOS needs fresh server. Also I have added the Elastic IP.

或者是否有任何推荐的方法来安装cPanel?我准备启动其他服务器并执行CentOS需要新服务器。我还添加了弹性IP。

2 个解决方案

#1


There is no different configuration of cPanel for Amazon EC2 server. I will suggest you please try to login your server through SSH and try to disable cPHulk Brute Force Protection on your server with the following command. May be your account is blocked in cPHulk Brute Force Protection database and due to that you are getting this issues.

对于Amazon EC2服务器,没有不同的cPanel配置。我建议您尝试通过SSH登录服务器并尝试使用以下命令在服务器上禁用cPHulk暴力保护。可能是您的帐户在cPHulk Brute Force Protection数据库中被阻止,并且由于您正在解决此问题。

/usr/local/cpanel/bin/cphulk_pam_ctl --disable

#2


Enter the command below in the linux terminal to update your root password incase you forgot

在linux终端输入以下命令,以便在忘记密码时更新root密码

passwd

enter a non dictionary password confirm the new password

输入非字典密码确认新密码

use that password to login whm at https://ipaddress:2087

使用该密码登录https:// ipaddress:2087

#1


There is no different configuration of cPanel for Amazon EC2 server. I will suggest you please try to login your server through SSH and try to disable cPHulk Brute Force Protection on your server with the following command. May be your account is blocked in cPHulk Brute Force Protection database and due to that you are getting this issues.

对于Amazon EC2服务器,没有不同的cPanel配置。我建议您尝试通过SSH登录服务器并尝试使用以下命令在服务器上禁用cPHulk暴力保护。可能是您的帐户在cPHulk Brute Force Protection数据库中被阻止,并且由于您正在解决此问题。

/usr/local/cpanel/bin/cphulk_pam_ctl --disable

#2


Enter the command below in the linux terminal to update your root password incase you forgot

在linux终端输入以下命令,以便在忘记密码时更新root密码

passwd

enter a non dictionary password confirm the new password

输入非字典密码确认新密码

use that password to login whm at https://ipaddress:2087

使用该密码登录https:// ipaddress:2087