diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 1998-10-21 23:50:10 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 1998-10-21 23:50:10 +0000 |
commit | dd94a50a3273b054bb2f66572f50975f6d64bc45 (patch) | |
tree | 465390bf667c3be4c6772c8ac39b8fc851176a60 /check.c | |
parent | 1b9aca63bde10928d55b1f08acafb3131fef9d0e (diff) | |
download | sudo-dd94a50a3273b054bb2f66572f50975f6d64bc45.tar.gz |
getprpwuid is broken in HP-UX 10.20 at least (it sleeps for 2 minutes if the
shadow files don't exist).
Diffstat (limited to 'check.c')
-rw-r--r-- | check.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -583,10 +583,10 @@ static void check_passwd() return; /* if the passwd is correct return() */ # endif /* HAVE_GETAUTHUID */ -# ifdef HAVE_GETPRPWUID +# ifdef HAVE_GETPRPWNAM if (check_secureware(pass)) return; /* if the passwd is correct return() */ -# endif /* HAVE_GETPRPWUID */ +# endif /* HAVE_HAVE_GETPRPWNAM */ /* Normal UN*X password check */ if (!strcmp(user_passwd, (char *) crypt(pass, user_passwd))) |