From Fedora Project Wiki


This test is confirms that authconfig can be used to configure a system for local identity and local authentication. Once setup, several commands are used to confirm the system setup.

How to test

  1. As a logged in desktop user, start the authentication configuration utility by running the command system-config-authentication, or by selecting the menu item SystemAdministrationAuthentication
  2. Select User Account Database as Local accounts only (see Image: Screenshot-Local Authentication.png). When finished, select Apply to save your changes.
  3. Confirm that the sssd service is not running by issuing the following command
    /sbin/service sssd status
  4. Next, add a new user account by selecting the menu item SystemAdministrationUsers and Groups. Alternatively, you can create a new user and assign a password by running the commands useradd and passwd from a terminal application. When finished, logout of the desktop.
  5. When the graphical login screen appears, login to the system as the newly created local user.
  6. Once logged into the desktop, change the password for current user. This can be accomplished by starting SystemPreferencesAbout me, then selecting Change Password. Or you can run the command passwd from a terminal application. After changing the password, logout of the desktop.
  7. Let's confirm the password change by logging into the desktop using the same local user account, but with the new password.
  8. Finally, open a terminal application, and check whether you can query for information about other local users. For example, you might run a commands similar to:
    getent passwd localtest
    getent group localtest
    finger localtest

Expected Results

  1. The Authentication Configuration application starts without error
  2. The Authentication Configuration application completes without error
  3. The sssd service is not running. Expected output from the command service is included below.
    /sbin/service sssd status
    sssd is stopped
  4. Whether using a graphical utility, or the commands useradd and passwd, creating a local user completes without error
  5. Login to the graphical desktop is successful using the newly created local username and password
  6. Whether using a graphical utility, or the command passwd, the password is successfully changed
  7. The new password is accepted when logging into the desktop
  8. The commands getent and finger return information about local users and groups.
    • Sample getent passwd output is included below.
      getent passwd localtest
    • Sample getent group output is included below.
      getent group localtest
    • Sample finger output is included below.
      finger localtest
      Login: localtest Name:
      Directory: /home/localtest Shell: /bin/bash
      On since Mon Mar 29 15:57 (IST) on pts/2 from localhost