From ff883e0d18e0c274da4689b6efa7064408d8c74b Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 14 Sep 2004 13:48:38 +0000 Subject: Relevant BUGIDs: Purpose of commit: Commit summary: --------------- bugfix: Bug 1027903 and 1027912 --- modules/pam_unix/support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_unix') diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c index 1b55d23b..5486e12f 100644 --- a/modules/pam_unix/support.c +++ b/modules/pam_unix/support.c @@ -554,7 +554,7 @@ int _unix_verify_password(pam_handle_t * pamh, const char *name } retval = PAM_SUCCESS; - if (pwd == NULL || salt == NULL || !strcmp(salt, "x")) { + if (pwd == NULL || salt == NULL || strlen(salt) == 1) { if (geteuid()) { /* we are not root perhaps this is the reason? Run helper */ D(("running helper binary")); -- cgit v1.2.3