Comment 2 for bug 1224684

Revision history for this message
Scott Moser (smoser) wrote : Re: cannot sudo, prompted for password

Here is what went wrong:
$ sudo cat /etc/sudoers.d/90-cloudimg-ubuntu
# ubuntu user is default user in cloud-images.
# It needs passwordless sudo functionality.
ubuntu ALL=(ALL) NOPASSWD:ALL

The user provisioned was 'smoser'. but 'ubuntu' was given passwordless sudo.