diff options
Diffstat (limited to 'linux-pam-conf')
-rw-r--r-- | linux-pam-conf | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/linux-pam-conf b/linux-pam-conf index b5db3c3..7d3d07e 100644 --- a/linux-pam-conf +++ b/linux-pam-conf @@ -2,23 +2,29 @@ #define HAVE_ENV 1 #define HAVE_ACCESS 1 #define HAVE_SHELLS 1 -#define HAVE_MOTD 1 -#define HAVE_MAIL 1 + #define SUPPORT_UNIX_SESSION 1 #define SUPPORT_NOLOGIN_ACCOUNT 1 #define SUPPORT_NOLOGIN_AUTH 1 +#if !MINIMAL +# define HAVE_MOTD 1 +# define HAVE_MAIL 1 +# define HAVE_LASTLOG 1 + +# if LINUX_PAM_VERSION > 0x010100 /* 1.1.0 */ +# define TALLY_MODULE pam_tally2.so +# else +# define TALLY_MODULE pam_tally.so +# endif + +#endif + #if WANT_SHA512 # define UNIX_EXTENDED_ENCRYPTION sha512 shadow #else # define UNIX_EXTENDED_ENCRYPTION md5 shadow #endif -#if LINUX_PAM_VERSION > 0x010100 /* 1.1.0 */ -# define TALLY_MODULE pam_tally2.so -#else -# define TALLY_MODULE pam_tally.so -#endif - #define LIKEAUTH likeauth #define DEBUG_NOLOGIN |