Enable PAM support for dtlogin and dtsession.

This commit is contained in:
Liang Chang
2021-01-31 05:37:52 +08:00
committed by Jon Trulson
parent 678c85021a
commit a4d81ecbaa
6 changed files with 59 additions and 6 deletions

View File

@@ -247,4 +247,12 @@ ICONVSYSLIB != if test -f /usr/local/include/iconv.h; then echo -liconv; else ec
#define CDESharedRev 2
#if !defined(HasPamLibrary)
#define HasPamLibrary YES
#endif
#if !defined(PamAuthenticationModule)
#define PamAuthenticationModule /usr/local/lib/security/pam_pwauth_suid.so
#endif
#include <bsdLib.rules>

View File

@@ -316,3 +316,11 @@ CXXDEPENDINCLUDE != CppCmd -x c++ -Wp,-v < /dev/null \
#ifndef KornShell
#define KornShell /usr/pkg/bin/ksh93
#endif
#if !defined(HasPamLibrary)
#define HasPamLibrary YES
#endif
#if !defined(PamAuthenticationModule)
#define PamAuthenticationModule /usr/pkg/lib/security/pam_pwauth_suid.so
#endif

View File

@@ -299,5 +299,9 @@ XCOMM This is needed for CDE currently
#define SharedTtReqs $(TIRPCLIB) $(LDPRELIBS) SharedXReqs $(CXXLIB)
#if !defined(HasPamLibrary)
#define HasPamLibrary YES
#endif
#include <lnxDep.rules>
#include <lnxLib.rules>