From Fedora Project Wiki

Revision as of 19:49, 16 July 2014 by Roshi (talk | contribs) (Created page with "{{QA/Test_Case |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 configurat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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