From Fedora Project Wiki

Description

Change the "root" password with Cockpit

Setup

Log into Cockpit as "root".

How to test

  1. Change the root password via the menu in the top right corner.
  2. Log out and then try to log in with the old password.
  3. Try other wrong credentials, such as non-existing users and wrong passwords.
  4. Log in with the new password.
  5. Change the password back.
  6. Try entering mismatched passwords while doing so.

Expected Results

Logging in with a wrong password should produce a clear error message. The user should be presented with a clear error when the password is mismatched or inappropriate.