Change default password of root user on aws ubuntu ec2 instance
First ssh into your server using the ssh key. ssh -i "Mysecretkey.pem" ubuntu@ec2-ip.compute-1.amazonaws.com Once you are logged in, switch to root user with the following command sudo su If successful, you will be switched to root. Optional: If yo...
Jun 23, 20221 min read82