Removing EC2 user from sudo list
- Check the: - /etc/sudoers.d/cloud-initfile
- If 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