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

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠