From: wessels <> Date: Fri, 11 Oct 2002 09:05:41 +0000 (+0000) Subject: oops, only local passwd file auth requires root privs. X-Git-Tag: SQUID_3_0_PRE1~681 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797ffbb2e101871c184090059ab708115e96a08c;p=thirdparty%2Fsquid.git oops, only local passwd file auth requires root privs. --- diff --git a/helpers/basic_auth/PAM/pam_auth.c b/helpers/basic_auth/PAM/pam_auth.c index b1c559e5af..d815a78ea3 100644 --- a/helpers/basic_auth/PAM/pam_auth.c +++ b/helpers/basic_auth/PAM/pam_auth.c @@ -1,5 +1,5 @@ /* - * $Id: pam_auth.c,v 1.10 2002/10/11 03:01:23 wessels Exp $ + * $Id: pam_auth.c,v 1.11 2002/10/11 03:05:41 wessels Exp $ * * PAM authenticator module for Squid. * Copyright (C) 1999,2002 Henrik Nordstrom @@ -179,9 +179,6 @@ start: exit(1); } - if (0 != getuid()) - fprintf(stderr, "WARNING: %s must be started as root\n", argv[0]); - while (fgets(buf, BUFSIZE, stdin)) { user = buf; password = strchr(buf, '\n');