7.6.3. PAM
Linux-PAM 0.75 and newr does support Shadow passwords over NIS
if you use the pam_unix.so Module or if you install the extra
pam_unix2.so Module. Old systems using pam_pwdb/libpwdb (for
example Red Hat Linux 5.x) need to change the /etc/pam.d/* entries.
All pam_pwdb rules should be replaced through a pam_unix_*
module.
An example /etc/pam.d/login file looks like:
#%PAM-1.0
auth requisite pam_unix2.so nullok #set_secrpc
auth required pam_securetty.so
auth required pam_nologin.so
auth required pam_env.so
auth required pam_mail.so
account required pam_unix2.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_first_pass use_authtok
session required pam_unix2.so none # debug or trace
session required pam_limits.so
|