1 Answer
- Newest
- Most votes
- Most comments
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 -.
Relevant content
- asked a year ago
