From Fedora Project Wiki

Revision as of 18:43, 12 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case ensures that the `authselect` tool and `authselect-libs` function correctly in managing system authentication settings. |setup= # Ensure you have a Fedora system. # Install the {{package|authselect}} and {{package|authselect-libs}} packages: `sudo dnf install authselect authselect-libs`. # Backup the current authentication settings: `sudo authselect current > authselect_backup.txt`. |actions= # Open a terminal. # View current au...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case ensures that the authselect tool and authselect-libs function correctly in managing system authentication settings.

Setup

  1. Ensure you have a Fedora system.
  2. Install the Package-x-generic-16.pngauthselect and Package-x-generic-16.pngauthselect-libs packages: sudo dnf install authselect authselect-libs.
  3. Backup the current authentication settings: sudo authselect current > authselect_backup.txt.

How to test

  1. Open a terminal.
  2. View current authentication setup: sudo authselect current.
  3. List available profiles: sudo authselect list.
  4. Select a different profile, for instance, 'sssd': sudo authselect select sssd.
  5. Verify the change by viewing the current authentication setup again: sudo authselect current.
  6. To ensure libraries function, perform operations or run tools that depend on authselect-libs.
  7. Restore the original authentication settings using the backup file: `sudo authselect select $(cat authselect_backup.txt

Expected Results

  1. The authselect current command should display the current profile without errors.
  2. The authselect list command should list available profiles.
  3. After selecting a new profile, authselect current should display the newly selected profile.
  4. Any operations or tools that depend on authselect-libs should run without errors related to authentication settings.
  5. After restoring, the authentication setup should be reverted to the original state, matching the backup.

Optional

For deeper testing:

  1. Test switching between multiple authentication profiles.
  2. Modify a profile and check if changes are accurately reflected.
  3. Ensure integration with other services, like SSSD or winbind, works when those respective profiles are selected.