From Fedora Project Wiki

Description

This testcase is meant to verify that passwordless sudo is enabled for the 'fedora' user after booting a cloud image.

Setup

  1. Boot a cloud image locally
  2. Or launch an instance in a cloud provider

How to test

  1. ssh into the booted image with the username 'fedora' and either the ssh-key (on EC2 for instance) or password provided in user-data (when running locally)
  2. Attempt to run commands with sudo

Expected Results

  1. Should be able to connect to booted image and run commands with sudo
  2. User should not be prompted for a password when using sudo