Can not access WHM - root password has been changed

0

I think our WHM site hosted on AWS has been hacked. Our root PW has changed and we can not login with via front end or SSH.

We still have access to AWS instance is there a way to access WHM user DB and change password again.

Thanks

YCAT
已提问 10 个月前411 查看次数
1 回答
0

Not being all that familiar with WHM but is it right that the root password for logging in to WHM is the same as the root password for SSHing into the Linux EC2 host? https://support.cpanel.net/hc/en-us/articles/1500007844462-How-can-I-reset-the-root-password-if-I-don-t-remember-my-current-root-password-

Depending on the AMI that the host is built upon, you may be able to SSH in as ec2-user and then sudo su - to become root that way. From here you can reset the root password.

If the EC2 has Systems Manager installed and enabled then you may be able to login as ssm-user through that way, and then become root with sudo su -.

profile picture
专家
Steve_M
已回答 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则