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
- Boot a cloud image locally
- Or launch an instance in a cloud provider
How to test
- Run the command below:
ssh user@host sudo -n 'cat /proc/cmdline'
Expected Results
- Results of the command should be displayed on the local terminal
- User should not be presented with a message resembling:
sudo: a password is required