diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c index 91854a400..2b3308a97 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | extern char *__progname; | 36 | extern char *__progname; |
37 | 37 | ||
38 | RCSID("$Id: auth-pam.c,v 1.36 2001/04/23 17:28:29 stevesk Exp $"); | 38 | RCSID("$Id: auth-pam.c,v 1.37 2001/04/23 18:38:37 stevesk Exp $"); |
39 | 39 | ||
40 | #define NEW_AUTHTOK_MSG \ | 40 | #define NEW_AUTHTOK_MSG \ |
41 | "Warning: Your password has expired, please change it now" | 41 | "Warning: Your password has expired, please change it now" |
@@ -209,7 +209,7 @@ int auth_pam_password(struct passwd *pw, const char *password) | |||
209 | /* deny if no user. */ | 209 | /* deny if no user. */ |
210 | if (pw == NULL) | 210 | if (pw == NULL) |
211 | return 0; | 211 | return 0; |
212 | if (pw->pw_uid == 0 && options.permit_root_login == 2) | 212 | if (pw->pw_uid == 0 && options.permit_root_login == PERMIT_NO_PASSWD) |
213 | return 0; | 213 | return 0; |
214 | if (*password == '\0' && options.permit_empty_passwd == 0) | 214 | if (*password == '\0' && options.permit_empty_passwd == 0) |
215 | return 0; | 215 | return 0; |