Removing EC2 user from sudo list
Check the:
/etc/sudoers.d/cloud-initfileIf the
ec2-user default useris there --> delete the file.
Last updated
Check the: /etc/sudoers.d/cloud-init file
If the ec2-user default user is there --> delete the file.
Last updated