help in using pam_issue.so module

hi,

i’m new with PAM and i’m trying to use pam_issue.so module to display /etc/issue file during login.

/etc/pam.d/login is configured like below:

#%PAM-1.0
auth required pam_issue.so issue=/etc/issue
auth requisite pam_nologin.so
auth [user_unknown=ignore success=ok ignore=ignore auth_err=die default=bad] pam_securetty.so
auth include common-auth
account include common-account
password include common-password
session required pam_loginuid.so
session include common-session
session required pam_lastlog.so nowtmp
session optional pam_mail.so standard
session optional pam_ck_connector.so
~

i know this can be done from the ssh configuration file but i want to use PAM instead for learning purposes.