I created an AMI from an ec2 instance wherein I gave the ubuntu user a password. However, when the Auto Scaling Group spawns an ec2 instance and I log into the ec2 instance, I notice it does not have the password that the AMI had. It's as if the ec2 instance is spawned with the ubuntu user without a password.
This is a problem for me because I need to know the password of this ubuntu user. Why does the user lose its password?