diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -29,7 +29,7 @@ #include "xmalloc.h" #include "servconf.h" -RCSID("$Id: auth-pam.c,v 1.16 2000/10/14 05:23:11 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.17 2000/10/14 13:36:13 stevesk Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: Your password has expired, please change it now" @@ -261,6 +261,12 @@ void do_pam_setcred() } } +/* accessor function for file scope static variable */ +int pam_password_change_required(void) +{ + return password_change_required; +} + /* * Have user change authentication token if pam_acct_mgmt() indicated * it was expired. This needs to be called after an interactive |