--- auth_passwd.c.orig Tue May 17 20:59:12 2016 +++ auth_passwd.c Tue May 17 20:59:19 2016 @@ -19,7 +19,7 @@ struct passwd *auth_userpass(char *user, char *pass, i { struct passwd *pw, *result; - *known = (pw = getpwnam(user)) != NULL; + *known = (pw = getpwnam_shadow(user)) != NULL; endpwent(); result = NULL;