From 867266059b98ba56e2bfac45bf51e0f99b5d886d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 15 Jun 2007 08:30:33 +0000 Subject: [PATCH] - vda perfers not to use the banner --- libbb/correct_password.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libbb/correct_password.c b/libbb/correct_password.c index d0f68c0cd..7affc97ee 100644 --- a/libbb/correct_password.c +++ b/libbb/correct_password.c @@ -49,10 +49,9 @@ int correct_password(const struct passwd *pw) /* fake salt. crypt() can choke otherwise. * (bb_banner's first two chars are letters and thus are valid salt) */ - correct = bb_banner; + correct = "aa"; if (!pw) { - /* bb_banner will never match, it contains () which is never - * generated in valid encrypted passwords. */ + /* "aa" will never match */ goto fake_it; } correct = pw->pw_passwd; -- 2.25.1