Closed LKHN closed 1 year ago
On the second stage of the AlmaLinux OS 8 AMI building the AWS VM Import/Export creates "/etc/sudoers.d/90-cloud-init-users" for "ec2-user":
ec2-user ALL=(ALL) NOPASSWD:ALL
Make sure no sudoers file present from the second stage
Signed-off-by: Elkhan Mammadli elkhan.mammadli@protonmail.com
On the second stage of the AlmaLinux OS 8 AMI building the AWS VM Import/Export creates "/etc/sudoers.d/90-cloud-init-users" for "ec2-user":
ec2-user ALL=(ALL) NOPASSWD:ALL
ec2-user ALL=(ALL) NOPASSWD:ALL
Make sure no sudoers file present from the second stage
Signed-off-by: Elkhan Mammadli elkhan.mammadli@protonmail.com