diff -Nur -x '*.orig' -x '*.rej' mod_auth_external-2.2.8/pwauth/pwauth.c mezzanine_patched_mod_auth_external-2.2.8/pwauth/pwauth.c --- mod_auth_external-2.2.8/pwauth/pwauth.c 2003-10-23 10:57:41.000000000 -0400 +++ mezzanine_patched_mod_auth_external-2.2.8/pwauth/pwauth.c 2006-03-20 18:36:47.000000000 -0500 @@ -653,9 +653,6 @@ #endif } -/* Array of uid numbers that may run this program */ -int server_uids[]= {SERVER_UIDS, 0}; - main(int argc, char **argv) { #ifdef ENV_METHOD @@ -664,7 +661,7 @@ char login[BFSZ+1], passwd[BFSZ+1]; char *c, *strchr(); #endif -int uid,i; +int i; int passwd_ok; struct rlimit rlim; @@ -672,13 +669,6 @@ rlim.rlim_cur = rlim.rlim_max = 0; (void)setrlimit(RLIMIT_CORE, &rlim); - /* Check that we were invoked by one of the listed uids or by root */ - uid= getuid(); - for (i= 0; server_uids[i] != 0 && server_uids[i] != uid; i++) - ; - if (uid != server_uids[i]) - exit(2); - /* Get the arguments (login and password) */ #ifdef ENV_METHOD if ((login= getenv("USER")) == NULL ||