The following steps briefly demonstrate how LUM works with PAM-enabled services.
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.
Log in as the eDirectory user ajohns.
The command prompt changes, indicating you are logged in.
Open a different shell prompt using a different function key, such as F2.
Log in as the root user.
Change to the /etc/pam.d directory by entering
cd /etc/pam.d
Make a copy of the login file located in the directory by entering
cp login login.copy
Open the original login file for editing by entering
vi login
To enter Insert mode, type
i
Use the Delete key to remove the first five lines of the file, so that the first line reads
#%PAM-1.0
Press Escape.
Press and hold the Shift key, then press z+z in sequence.
Return to the first shell prompt and log out as user ajohns by entering
exit
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.
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.
Change back to the first shell prompt and log in as ajohns to verify that LUM support is restored.