I have centos 7.3 machine on AWS. The default ssh user is 'centos' However when i run any command with sudo for this user it doesn't ask for password. So how do i make it to prompt for password while doing sudo for default ssh user.I even tried adding Defaults rootpw
in /etc/sudoers
file
Note: When i create a new user and give sudo access to it, it always asks password while running sudo command for this new user. Its just doesnot work for default user.