- vda perfers not to use the banner
This commit is contained in:
parent
432d69cb41
commit
867266059b
@ -49,10 +49,9 @@ int correct_password(const struct passwd *pw)
|
|||||||
|
|
||||||
/* fake salt. crypt() can choke otherwise.
|
/* fake salt. crypt() can choke otherwise.
|
||||||
* (bb_banner's first two chars are letters and thus are valid salt) */
|
* (bb_banner's first two chars are letters and thus are valid salt) */
|
||||||
correct = bb_banner;
|
correct = "aa";
|
||||||
if (!pw) {
|
if (!pw) {
|
||||||
/* bb_banner will never match, it contains () which is never
|
/* "aa" will never match */
|
||||||
* generated in valid encrypted passwords. */
|
|
||||||
goto fake_it;
|
goto fake_it;
|
||||||
}
|
}
|
||||||
correct = pw->pw_passwd;
|
correct = pw->pw_passwd;
|
||||||
|
Loading…
Reference in New Issue
Block a user