From Fedora Project Wiki

Description

This testcase is intended to ensure that a tty is not required to execute commands with sudo (which is a requirement of several external configuration tools)

Setup

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

How to test

  1. Run the command below:
    ssh user@host sudo -n 'cat /proc/cmdline'

Expected Results

  1. Results of the command should be displayed on the local terminal
  2. User should not be presented with a message resembling:
    sudo: a password is required