2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

getprpwuid is broken in HP-UX 10.20 at least (it sleeps for 2 minutes if the

shadow files don't exist).
This commit is contained in:
Todd C. Miller
1998-10-21 23:50:10 +00:00
parent 929bff13f1
commit 7ffee3b997
8 changed files with 26 additions and 26 deletions

4
sudo.c
View File

@@ -183,12 +183,12 @@ int main(argc, argv)
int sudo_mode = MODE_RUN;
extern char ** environ;
#if defined(HAVE_GETPRPWUID) && defined(HAVE_SET_AUTH_PARAMETERS)
#if defined(HAVE_GETPRPWNAM) && defined(HAVE_SET_AUTH_PARAMETERS)
(void) set_auth_parameters(argc, argv);
# ifdef HAVE_INITPRIVS
initprivs();
# endif
#endif /* HAVE_GETPRPWUID && HAVE_SET_AUTH_PARAMETERS */
#endif /* HAVE_GETPRPWNAM && HAVE_SET_AUTH_PARAMETERS */
Argv = argv;
Argc = argc;