Using Linux User Management (LUM)

The following steps briefly demonstrate how LUM works with PAM-enabled services.

  1. At a the NNLS server, open a new shell prompt by pressing Ctrl+Alt+Fx, where Fx is the function key (F1 through F6) for an unused shell prompt.

  2. Log in as the eDirectory user ajohns.

    The command prompt changes, indicating you are logged in.

  3. Open a different shell prompt using a different function key, such as F2.

  4. Log in as the root user.

  5. Change to the /etc/pam.d directory by entering

    cd /etc/pam.d

  6. Make a copy of the login file located in the directory by entering

    cp login login.copy

  7. Open the original login file for editing by entering

    vi login

  8. To enter Insert mode, type

    i

  9. Use the Delete key to remove the first five lines of the file, so that the first line reads

    #%PAM-1.0
  10. Press Escape.

  11. Press and hold the Shift key, then press z+z in sequence.

  12. Return to the first shell prompt and log out as user ajohns by entering

    exit

  13. Try to log in again as user ajohns.

    The systems responds that the login request was incorrect.

    When you removed the first five lines from the login file, you removed the LUM support from the login command.

  14. To restore the LUM support for the login command, change to the shell prompt where you are logged in as the root user, then enter

    rm login

    to delete the file you changed in Step 9 and

    y

    to confirm file deletion and

    mv login.copy login

    to rename the copy file created in Step 6 to the original filename, restoring the original login behavior.

  15. Change back to the first shell prompt and log in as ajohns to verify that LUM support is restored.