summaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2004-09-14 13:48:38 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2004-09-14 13:48:38 +0000
commitff883e0d18e0c274da4689b6efa7064408d8c74b (patch)
tree4a9da60a2686cb5bc9951ee5ea8a8bb043aa85a9 /modules/pam_unix
parent44d2b97a5ca02cad258093bd3add986f3e095941 (diff)
Relevant BUGIDs:
Purpose of commit: Commit summary: --------------- bugfix: Bug 1027903 and 1027912
Diffstat (limited to 'modules/pam_unix')
-rw-r--r--modules/pam_unix/support.c2
1 files changed, 1 insertions, 1 deletions
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"));