When I log into an ec2 instance via ssh using keypair (logged in as ec2-user user), I am able to execute sudo
commands without typing a password.
How can I configure ec2 instance to prompt for a password when the logged in user issues a sudo
command?