From Fedora Project Wiki

Description

Ensure the root account cannot be ssh'd into

Setup

This test requires access to a cloud provider (EC2, OpenStack, etc)

How to test

For EC2:

  1. Boot the latest AMI
  2. Select defaults (ssh key, etc)
  3. attempt to ssh in as the root user: ssh -i path/to/keypair.pem root@<public DNS>

Expected Results

Upon connection, you should see:

'Please login as the user "fedora" rather than the user "root".'