13 lines
301 B
Text
13 lines
301 B
Text
|
Index: pwcheck/pwcheck_getpwnam.c
|
||
|
--- pwcheck/pwcheck_getpwnam.c.orig
|
||
|
+++ pwcheck/pwcheck_getpwnam.c
|
||
|
@@ -53,7 +53,7 @@ char *password;
|
||
|
char* crpt_passwd;
|
||
|
struct passwd *pwd;
|
||
|
|
||
|
- pwd = getpwnam(userid);
|
||
|
+ pwd = getpwnam_shadow(userid);
|
||
|
if (!pwd) {
|
||
|
r = "Userid not found";
|
||
|
}
|